Commit 594ed817 authored by hybrid's avatar hybrid

Add cleanup in case of error.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3967 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 7f644d03
...@@ -768,7 +768,7 @@ bool CIrrDeviceMacOSX::createWindow() ...@@ -768,7 +768,7 @@ bool CIrrDeviceMacOSX::createWindow()
} }
@catch (NSException *exception) @catch (NSException *exception)
{ {
// FIXME: cleanup may be needed here closeDevice();
result = false; result = false;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment