fix: execution order of listening ipc thread

This commit is contained in:
Kingtous
2023-02-07 18:01:54 +08:00
parent 29b1d106aa
commit 4ea41b52d3
5 changed files with 8 additions and 5 deletions

View File

@@ -114,6 +114,9 @@ Future<void> initEnv(String appType) async {
_registerEventHandler();
// Update the system theme.
updateSystemWindowTheme();
if (appType == kAppTypeConnectionManager) {
await bind.cmStartListenIpcThread();
}
}
void runMainApp(bool startService) async {