fix: execution order of listening ipc thread
This commit is contained in:
parent
29b1d106aa
commit
4ea41b52d3
5 changed files with 8 additions and 5 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue