admin 1 year ago
parent
commit
0009d52a9a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      windows/wl_base_help_plugin.cpp

+ 1 - 0
windows/wl_base_help_plugin.cpp

@@ -140,6 +140,7 @@ void WlBaseHelpPlugin::HandleMethodCall(
           }
         } else {
           result->Success();
+          ExitProcess(0);  // 退出当前进程
         }
       } else {
         result->Error("GET_MODULE_FAILED", "Failed to get module file name.");