[ZoneBuilder] Hack around assertion crash in destructor temporarily.

Needs to be fixed properly by @momo5502.

See.
This commit is contained in:
/dev/urandom 2017-06-03 23:58:05 +02:00
parent 0f0fc637ff
commit d602d0c7c5
No known key found for this signature in database
GPG Key ID: 41322B973E0F295E

View File

@ -1522,7 +1522,9 @@ namespace Components
ZoneBuilder::~ZoneBuilder() ZoneBuilder::~ZoneBuilder()
{ {
#if DEBUG
assert(ZoneBuilder::MemAllocator.empty()); assert(ZoneBuilder::MemAllocator.empty());
#endif
ZoneBuilder::Terminate = true; ZoneBuilder::Terminate = true;
if(ZoneBuilder::CommandThread.joinable()) if(ZoneBuilder::CommandThread.joinable())