Fix for SF bug #1086664: Repeatable crash closing window.
commitb7b77435f9ccf3d2ff5ec5ddc1ce352f6e47b06d
authorEddy De Greef <edg@users.sourceforge.net>
Fri, 17 Dec 2004 11:54:20 +0000 (17 11:54 +0000)
committerEddy De Greef <edg@users.sourceforge.net>
Fri, 17 Dec 2004 11:54:20 +0000 (17 11:54 +0000)
tree737ae486e46b421fe682b6c8b0490f4c8ad930d1
parent93ad386725fb39e5fbae8aa62f1699e9b369010c
Fix for SF bug #1086664: Repeatable crash closing window.
Closing a window while a modal dialog is up, triggered from a find or
replace dialog button action routine, is virtually impossible.
We can prevent illegal accesses to destroyed windows (which is the reason
for the crash), but we cannot avoid that Motif accesses structures that
get destroyed in the process.
Therefore, it is now no longer possible to close a window via the window
manager during the execution of a search dialog button action routine in
that window.
source/search.c
source/search.h
source/window.c