mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-29 19:11:24 -04:00
RsServer fix crash on stop if shutdown callback not set
This commit is contained in:
parent
add97dede0
commit
bf98166197
1 changed files with 2 additions and 1 deletions
|
@ -83,7 +83,8 @@ const double RsServer::kickLimit = 0.15;
|
|||
|
||||
|
||||
RsServer::RsServer() :
|
||||
coreMutex("RsServer"), coreReady(false)
|
||||
coreMutex("RsServer"), mShutdownCallback([](int){}),
|
||||
coreReady(false)
|
||||
{
|
||||
// This is needed asap.
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue