diff -r 124e9a2ae6d9 modules/graphics/src/main/native-glass/win/GlassApplication.cpp --- a/modules/graphics/src/main/native-glass/win/GlassApplication.cpp Fri Aug 15 09:47:54 2014 -0700 +++ b/modules/graphics/src/main/native-glass/win/GlassApplication.cpp Mon Aug 18 13:59:18 2014 -0700 @@ -422,6 +422,16 @@ ::TranslateMessage(&msg); ::DispatchMessage(&msg); } + + fprintf(stdout, "Loop4 is done \n"); + fflush(stdout); + PostThreadMessage(NULL, WM_NULL, NULL, NULL); +// PostMessage(NULL, WM_NULL, NULL, NULL); + fprintf(stdout, "WM_NULL sent .\n"); + fflush(stdout); + ::GetMessage(&msg, NULL, 0, 0); + fprintf(stdout, "GetMessage returned.\n"); + fflush(stdout); } /*