mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 07:12:16 +00:00
Fixed exit crash on legacy OS X
There is no need to close (and thus deallocate) console window explicitly This will be done by autorelease pool in application controller event loop OS X with GC and/or ARC was not affected by this issue Older versions like 10.4 or 10.5 crashed because of double deallocation
This commit is contained in:
parent
de80a8529d
commit
bfc116b2a4
2 changed files with 0 additions and 6 deletions
|
@ -85,7 +85,6 @@ private:
|
|||
int m_netMaxPos;
|
||||
|
||||
FConsoleWindow();
|
||||
~FConsoleWindow();
|
||||
|
||||
void ExpandTextView(float height);
|
||||
|
||||
|
|
|
@ -118,11 +118,6 @@ FConsoleWindow::FConsoleWindow()
|
|||
[m_window makeKeyAndOrderFront:nil];
|
||||
}
|
||||
|
||||
FConsoleWindow::~FConsoleWindow()
|
||||
{
|
||||
[m_window close];
|
||||
}
|
||||
|
||||
|
||||
static FConsoleWindow* s_instance;
|
||||
|
||||
|
|
Loading…
Reference in a new issue