Skip to content

Commit b816b7f

Browse files
committed
null check
1 parent d322d13 commit b816b7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hx/widgets/App.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class App extends AppConsole {
4343
}
4444

4545
public function exit() {
46-
locale.destroy();
46+
if (locale != null) locale.destroy();
4747
appRef.ptr.exit();
4848
Entry.cleanup();
4949
}

0 commit comments

Comments
 (0)