attempt to fix segfaults discovered during testing

This commit is contained in:
Mark Vejvoda
2013-05-18 05:57:22 +00:00
parent 24f3a1d6de
commit 7966422582
9 changed files with 14 additions and 16 deletions

View File

@@ -728,7 +728,6 @@ void MainWindow::onClose(wxCloseEvent &event){
if(glCanvas) glCanvas->Destroy();
glCanvas = NULL;
//delete this;
this->Destroy();
}