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:
alexey.lysiuk 2016-01-17 11:51:46 +02:00
parent de80a8529d
commit bfc116b2a4
2 changed files with 0 additions and 6 deletions

View File

@ -85,7 +85,6 @@ private:
int m_netMaxPos;
FConsoleWindow();
~FConsoleWindow();
void ExpandTextView(float height);

View File

@ -118,11 +118,6 @@ FConsoleWindow::FConsoleWindow()
[m_window makeKeyAndOrderFront:nil];
}
FConsoleWindow::~FConsoleWindow()
{
[m_window close];
}
static FConsoleWindow* s_instance;