Moving: if( m_toolManager ) m_toolManager->DeactivateTool();
from: GERBVIEW_FRAME::~GERBVIEW_FRAME()
to: GERBVIEW_FRAME::OnCloseWindow()
fixes the OSX crash.
Moving:
m_toolManager- >DeactivateTool ();
if( m_toolManager )
from: FRAME:: ~GERBVIEW_ FRAME()
GERBVIEW_
to: FRAME:: OnCloseWindow( )
GERBVIEW_
fixes the OSX crash.