diff --git a/src/Components/Modules/ZoneBuilder.cpp b/src/Components/Modules/ZoneBuilder.cpp index 7e5e9aa7..9069e613 100644 --- a/src/Components/Modules/ZoneBuilder.cpp +++ b/src/Components/Modules/ZoneBuilder.cpp @@ -1522,7 +1522,9 @@ namespace Components ZoneBuilder::~ZoneBuilder() { +#if DEBUG assert(ZoneBuilder::MemAllocator.empty()); +#endif ZoneBuilder::Terminate = true; if(ZoneBuilder::CommandThread.joinable())