diff --git a/src/graphics/irr_driver.cpp b/src/graphics/irr_driver.cpp index b2418fa0e..fedc76f07 100644 --- a/src/graphics/irr_driver.cpp +++ b/src/graphics/irr_driver.cpp @@ -1931,8 +1931,9 @@ void IrrDriver::update(float dt) // ================================= if (!m_device->run()) { - GUIEngine::cleanUp(); - GUIEngine::deallocate(); + // Don't bother cleaning up GUI, has no use and may result in crashes + //GUIEngine::cleanUp(); + //GUIEngine::deallocate(); main_loop->abort(); return; }