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

This commit is contained in:
Tomasz Włostowski 2014-08-13 17:25:54 +02:00 committed by Maciej Suminski
parent fc13e5d651
commit adbf343fef
1 changed files with 3 additions and 0 deletions

View File

@ -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;