launch pCampbot shutdown console comand asynchronously

remove-scene-viewer
Justin Clark-Casey (justincc) 2011-11-10 20:03:36 +00:00
parent f31a58bd99
commit 9cba179dff
1 changed files with 5 additions and 2 deletions

View File

@ -233,8 +233,11 @@ namespace pCampBot
private void HandleShutdown(string module, string[] cmd)
{
m_log.Warn("[BOTMANAGER]: Shutting down bots");
doBotShutdown();
Util.FireAndForget(o =>
{
m_log.Warn("[BOTMANAGER]: Shutting down bots");
doBotShutdown();
});
}
private void HandleShowStatus(string module, string[] cmd)