mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
RsServer fix crash on stop if shutdown callback not set
This commit is contained in:
parent
add97dede0
commit
bf98166197
@ -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…
Reference in New Issue
Block a user