fix: prevent native requests from blocking shutdown

This commit is contained in:
Levi committed 2026-09-06 21:49:11 +08:00
1 parent 1bb3f74c9f
commit d51eeb3f2c
7 files changed
+317 -159

No files matched your search

+1 -2
View File
@@ -27,8 +27,7 @@ func Start(cfg string) (int, error) {
}
func Stop() {
nativebridge.PauseInvokesAndWait()
rest.Stop()
nativebridge.Stop()
}
func GetAPIServerState() string {