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:
@@ -69,6 +69,9 @@ void SGEventMgr::init()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// The event manager dtor and ctor are not called on reset, so reset the flag here.
|
||||||
|
_shutdown = false;
|
||||||
|
|
||||||
_inited = true;
|
_inited = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user