From c634d1baea97e94320c0bf6a9cf637369c4f11d4 Mon Sep 17 00:00:00 2001 From: 2dust <31833384+2dust@users.noreply.github.com> Date: Thu, 20 Aug 2026 15:16:03 +0800 Subject: [PATCH] Finalize callback shutdown on stop --- libv2ray_main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/libv2ray_main.go b/libv2ray_main.go index 05ad11c..83b876f 100644 --- a/libv2ray_main.go +++ b/libv2ray_main.go @@ -129,6 +129,7 @@ func (x *CoreController) StopLoop() error { if x.IsRunning { x.doShutdown() + x.CallbackHandler.Shutdown() x.CallbackHandler.OnEmitStatus(0, "Core stopped") } return nil