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

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