Pass thread exit code from app thread as process exit code.

This commit is contained in:
Branimir Karadžić
2015-06-09 22:24:49 -07:00
parent ef143a1bb6
commit b2bc9238d0
3 changed files with 6 additions and 5 deletions

View File

@@ -499,7 +499,7 @@ namespace entry
s_xinput.shutdown();
return 0;
return thread.getExitCode();
}
LRESULT process(HWND _hwnd, UINT _id, WPARAM _wparam, LPARAM _lparam)