From a5feff7aa0b37bba8b43e4c1738b5a6042a3ed50 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 9 Feb 2019 08:46:13 +0100 Subject: [PATCH] - fixed: The level's local event manager wasn't fully taken down when freeing the level's data. --- src/events.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/events.cpp b/src/events.cpp index 21a4409fb..d1e92510b 100755 --- a/src/events.cpp +++ b/src/events.cpp @@ -258,6 +258,7 @@ void EventManager::Shutdown() { handler->Destroy(); } + FirstEventHandler = LastEventHandler = nullptr; } #define DEFINE_EVENT_LOOPER(name, play) void EventManager::name() \