bugfix: SIGABRT after starting a track with PNS and switching canvases a few times
This commit is contained in:
parent
fc13e5d651
commit
adbf343fef
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue