Fix #30155: crash with popup menu open while new .blend file is loaded,
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Mon, 13 Feb 2012 21:05:04 +0000 (21:05 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Mon, 13 Feb 2012 21:05:04 +0000 (21:05 +0000)
commit19ff61bfb3c817ae5707bac1911c062eea98a292
treef87bb7e2ae144611f112ac5702174994b0e6c648
parenta53237f1930553f0aa373f6f4a85d8ad30650411
Fix #30155: crash with popup menu open while new .blend file is loaded,
CTX_wm_window is then set to NULL and checked in the event queue, but it
should be checked for removing handlers too.
source/blender/editors/interface/interface_regions.c