mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Add assert for recursive shutdown
This commit is contained in:
parent
530b645a4d
commit
74f8c15481
@ -64,6 +64,7 @@ void SDK_Init()
|
||||
void SDK_Shutdown()
|
||||
{
|
||||
static bool bShutDown = false;
|
||||
assert(!bShutDown);
|
||||
if (bShutDown)
|
||||
{
|
||||
spdlog::error("Recursive shutdown!\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user