Fix crash handler

This commit is contained in:
世界
2026-04-23 08:12:53 +08:00
parent cd48f1abf6
commit 22e1941e5e
5 changed files with 10 additions and 0 deletions
+2
View File
@@ -81,6 +81,7 @@ open class ExtensionProvider: NEPacketTunnelProvider {
#endif
override public init() {
LibboxPrepareCrashSignalHandlers()
#if os(macOS)
if Variant.useSystemExtension {
NativeCrashReporter.installForCurrentProcess(
@@ -93,6 +94,7 @@ open class ExtensionProvider: NEPacketTunnelProvider {
#else
NativeCrashReporter.installForCurrentProcess()
#endif
LibboxReinstallCrashSignalHandlers()
super.init()
}