mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-08 01:20:27 +00:00
fix: prevent native requests from blocking shutdown
This commit is contained in:
1 parent
1bb3f74c9f
commit
d51eeb3f2c
7 files changed
+317
-159
No files matched your search
@@ -48,8 +48,7 @@ func Start(cfg *C.char) (int, *C.char) {
|
||||
|
||||
//export Stop
|
||||
func Stop() {
|
||||
nativebridge.PauseInvokesAndWait()
|
||||
rest.Stop()
|
||||
nativebridge.Stop()
|
||||
}
|
||||
|
||||
//export GetAPIServerState
|
||||
|
||||
Reference in new issue
Block a user