feat: Some small additions (#755)

This commit is contained in:
Bugisoft
2022-12-30 02:09:33 +01:00
committed by GitHub
parent 5bc81ee724
commit 089bcebc17
10 changed files with 79 additions and 6 deletions

View File

@ -23,7 +23,8 @@ namespace big
g_fiber_pool->queue_job([]
{
for (auto& command : g_looped_commands)
command->on_disable();
if (command->is_enabled())
command->on_disable();
g_running = false;
});