diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2018-08-06 16:51:02 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2018-08-06 16:51:02 +0000 |
| commit | 339ba4c8b307f025c5ef8999f8539656057d69b7 (patch) | |
| tree | e2777fef317ee7a6c48df57f17eabeb2ce58bf94 /src | |
| parent | 6d276aed27d06e7a8162e0c867ac59bc5200170b (diff) | |
Fix crash when a program exits before it opens a window (STR #3484).
This crash and the fix are Windows specific.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13007 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_win32.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx index c2549a144..d06c5c4f8 100644 --- a/src/Fl_win32.cxx +++ b/src/Fl_win32.cxx @@ -584,7 +584,7 @@ public: fl_free_fonts(); // do some Windows cleanup fl_cleanup_pens(); OleUninitialize(); - fl_brush_action(1); + if (fl_graphics_driver) fl_brush_action(1); fl_cleanup_dc_list(); // This is actually too late in the cleanup process to remove the // clipboard notifications, but we have no earlier hook so we try |
