Code polish
This commit is contained in:
parent
91e9f28944
commit
3929df3380
@ -110,9 +110,7 @@ class WindowsEventDispatch implements Runnable {
|
|||||||
// always from inside lock!
|
// always from inside lock!
|
||||||
private void
|
private void
|
||||||
stop_() {
|
stop_() {
|
||||||
WPARAM wparam = new WPARAM(0);
|
User32.IMPL.SendMessage(hWnd, WM_QUIT, new WPARAM(0), new LPARAM(0));
|
||||||
LPARAM lparam = new LPARAM(0);
|
|
||||||
User32.IMPL.SendMessage(hWnd, WM_QUIT, wparam, lparam);
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
// wait for the dispatch thread to quit (but only if we are not on the dispatch thread)
|
// wait for the dispatch thread to quit (but only if we are not on the dispatch thread)
|
||||||
|
Loading…
Reference in New Issue
Block a user