Commit adbf343f authored by Tomasz Włostowski's avatar Tomasz Włostowski Committed by Maciej Suminski

bugfix: SIGABRT after starting a track with PNS and switching canvases a few times

parent fc13e5d6
......@@ -372,7 +372,10 @@ PNS_ROUTER::~PNS_ROUTER()
void PNS_ROUTER::ClearWorld()
{
if( m_world )
{
m_world->KillChildren();
delete m_world;
}
if( m_clearanceFunc )
delete m_clearanceFunc;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment