RsServer fix crash on stop if shutdown callback not set

This commit is contained in:
Gioacchino Mazzurco 2018-09-21 01:39:48 +02:00
parent add97dede0
commit bf98166197
No known key found for this signature in database
GPG Key ID: A1FBCA3872E87051

View File

@ -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.
//