增加底层动态链接库异常捕获

This commit is contained in:
杨红岩 2023-11-01 17:42:03 +08:00
parent f59c18dfed
commit 87913dd145

View File

@ -16,6 +16,7 @@ package exception
import "github.com/energye/energy/v2/cef/internal/exception"
// SetOnException 设置 liblcl -> CEF 低层异常捕获回调函数
// Supports: Windows, MacOS.
func SetOnException(fn exception.Callback) {
exception.HandlerInit(fn)
}