Fixed START command
This commit is contained in:
parent
b18842308f
commit
4df6a320ca
1 changed files with 15 additions and 17 deletions
|
@ -247,7 +247,6 @@ void App::onSignal(uv_signal_t* handle, int signum)
|
|||
|
||||
void App::onCommandReceived(uv_async_t* async)
|
||||
{
|
||||
if (async->data) {
|
||||
auto command = reinterpret_cast<ControlCommand::Command &> (async->data);
|
||||
switch (command) {
|
||||
case ControlCommand::START:
|
||||
|
@ -264,5 +263,4 @@ void App::onCommandReceived(uv_async_t* async)
|
|||
App::shutdown();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue