[Console] Catch exceptions thrown by PDCurses for some users
This commit is contained in:
parent
07ffcad740
commit
cfb252b3ee
@ -250,7 +250,15 @@ namespace Components
|
||||
delwin(Console::InputWindow);
|
||||
delwin(Console::InfoWindow);
|
||||
endwin();
|
||||
delscreen(SP);
|
||||
|
||||
try
|
||||
{
|
||||
delscreen(SP);
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
OutputDebugStringA("Failed to free PDCurses screen\n");
|
||||
}
|
||||
|
||||
Console::OutputWindow = nullptr;
|
||||
Console::InputWindow = nullptr;
|
||||
|
Loading…
Reference in New Issue
Block a user