mirror of
https://github.com/glest/glest-source.git
synced 2025-08-26 17:34:24 +02:00
attempt to fix segfaults discovered during testing
This commit is contained in:
@@ -728,7 +728,6 @@ void MainWindow::onClose(wxCloseEvent &event){
|
||||
if(glCanvas) glCanvas->Destroy();
|
||||
glCanvas = NULL;
|
||||
|
||||
//delete this;
|
||||
this->Destroy();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user