SGEventMgr: Reset the shutdown flag on init as a reset does not call the ctor.

This fixes the reset process that was broken by
dfed2184f1.
This commit is contained in:
Edward d'Auvergne 2018-05-14 14:05:04 +02:00
parent 9755110ec7
commit 66cfa800be

View File

@ -69,6 +69,9 @@ void SGEventMgr::init()
return;
}
// The event manager dtor and ctor are not called on reset, so reset the flag here.
_shutdown = false;
_inited = true;
}