mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-07 02:25:34 -05: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…
x
Reference in New Issue
Block a user