core: pm2 event bus

This commit is contained in:
undefined committed 2021-09-21 15:24:26 +08:00
1 parent fc7aa51571
commit 3adde783a3
6 files changed
+35 -10

No files matched your search

-1
View File
@@ -261,7 +261,6 @@ class HomeSettingsHandler extends Handler {
}
for (const key in booleanKeys) if (!args[key]) $set[key] = false;
await setter($set);
await sleep(100);
this.back();
}
}
-1
View File
@@ -179,7 +179,6 @@ class SystemSettingHandler extends SystemHandler {
}
tasks.push(bus.parallel('system/setting', args));
await Promise.all(tasks);
await sleep(100);
this.back();
}
}