Skip to content

Commit

Permalink
增加底层动态链接库异常捕获
Browse files Browse the repository at this point in the history
  • Loading branch information
sxmxta committed Nov 1, 2023
1 parent f59c18d commit 87913dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cef/exception/exception.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit 87913dd

Please sign in to comment.