fix.修复初始化未完成时,开始任务失败的问题

This commit is contained in:
MistEO
2021-12-22 22:30:55 +08:00
parent 93aef8ebc3
commit 806b012e42
2 changed files with 4 additions and 2 deletions

View File

@@ -75,7 +75,9 @@ namespace MeoAsstGui
{
_windowManager.ShowMessageBox("程序初始化错误!请检查是否是因为使用了中文路径", "错误");
Environment.Exit(0);
}
}
var tvm = _container.Get<TaskQueueViewModel>();
tvm.Idle = true;
}
private void CallbackFunction(int msg, IntPtr json_buffer, IntPtr custom_arg)

View File

@@ -281,7 +281,7 @@ namespace MeoAsstGui
}
}
private bool _idle = true;
private bool _idle = false;
public bool Idle
{