mirror of https://github.com/BOINC/boinc.git
- API: Remove the call to SendMessage(WM_QUIT, ...) after destroying the window.
There is no guarantee what order the event queue will be processed in and if WM_QUIT is processed before WM_DESTROY something might linger around.
This commit is contained in:
parent
d3fbcaf8d5
commit
d4cf16944e
|
@ -68,7 +68,6 @@ void boinc_close_window_and_quit(const char* p) {
|
|||
if (window) {
|
||||
DestroyWindow(window);
|
||||
}
|
||||
SendMessage(window, WM_QUIT, 0, 0);
|
||||
}
|
||||
|
||||
void SetupPixelFormat(HDC win_dc) {
|
||||
|
|
|
@ -6323,3 +6323,11 @@ Rom 23 Oct 2012
|
|||
|
||||
clientscr/
|
||||
screensaver_x11.cpp
|
||||
|
||||
Rom 24 Oct 2012
|
||||
- API: Remove the call to SendMessage(WM_QUIT, ...) after destroying the window.
|
||||
There is no guarantee what order the event queue will be processed in and if
|
||||
WM_QUIT is processed before WM_DESTROY something might linger around.
|
||||
|
||||
api/
|
||||
graphics2_win.cpp
|
||||
|
|
Loading…
Reference in New Issue