From e72f171483d7267e1822e7cc24fd2518db690814 Mon Sep 17 00:00:00 2001 From: hobbs Date: Sat, 13 May 2000 00:01:56 +0000 Subject: * win/tkWinWm.c (RaiseWinWhenIdle): added TK_DONT_DESTROY_WINDOW to flag check to prevent timing related core dump. [Bug: 5438] --- win/tkWinWm.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/win/tkWinWm.c b/win/tkWinWm.c index ff29259..9049624 100644 --- a/win/tkWinWm.c +++ b/win/tkWinWm.c @@ -12,7 +12,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkWinWm.c,v 1.23 2000/05/10 00:09:41 ericm Exp $ + * RCS: @(#) $Id: tkWinWm.c,v 1.24 2000/05/13 00:01:56 hobbs Exp $ */ #include "tkWinInt.h" @@ -4558,7 +4558,8 @@ RaiseWinWhenIdle(clientData) { register TkWindow *winPtr = (TkWindow *) clientData; - if ((winPtr == NULL) || (winPtr->flags & TK_ALREADY_DEAD)) { + if ((winPtr == NULL) + || (winPtr->flags & (TK_ALREADY_DEAD|TK_DONT_DESTROY_WINDOW))) { return; } if (winPtr->wmInfoPtr->flags & WM_UPDATE_PENDING) { -- cgit v0.12