launch pCampbot shutdown console comand asynchronously
parent
f31a58bd99
commit
9cba179dff
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue