#40 Fix crash on Linux.
This commit is contained in:
parent
ebf54c6d04
commit
8f38462bbe
8 changed files with 21 additions and 8 deletions
|
@ -123,10 +123,10 @@ int App::exec()
|
|||
|
||||
void App::close()
|
||||
{
|
||||
uv_signal_stop(&m_signal);
|
||||
|
||||
m_network->stop();
|
||||
Workers::stop();
|
||||
|
||||
uv_stop(uv_default_loop());
|
||||
}
|
||||
|
||||
|
||||
|
@ -150,5 +150,6 @@ void App::onSignal(uv_signal_t *handle, int signum)
|
|||
break;
|
||||
}
|
||||
|
||||
uv_signal_stop(handle);
|
||||
m_self->close();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue