diff options
author | dgp <dgp@users.sourceforge.net> | 2016-07-21 20:06:34 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2016-07-21 20:06:34 (GMT) |
commit | a80e603c517d2682ef25067ac6daf1d2692d5864 (patch) | |
tree | cd7aaee28e7876e8bfdd77e835c534b13cbe5f98 /generic/tkEvent.c | |
parent | 682d30ed7f59d3c732d08cf6ccc715e738784453 (diff) | |
parent | 2aa945d6a8109c74d9ff3331fb99a093635e0cd7 (diff) | |
download | tk-a80e603c517d2682ef25067ac6daf1d2692d5864.zip tk-a80e603c517d2682ef25067ac6daf1d2692d5864.tar.gz tk-a80e603c517d2682ef25067ac6daf1d2692d5864.tar.bz2 |
merge 8.6bug_450bb0ecad
Diffstat (limited to 'generic/tkEvent.c')
-rw-r--r-- | generic/tkEvent.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/generic/tkEvent.c b/generic/tkEvent.c index bcc6d98..95aeda1 100644 --- a/generic/tkEvent.c +++ b/generic/tkEvent.c @@ -2039,6 +2039,12 @@ TkFinalize( { ExitHandler *exitPtr; +#if defined(_WIN32) && !defined(STATIC_BUILD) + if (!tclStubsPtr) { + return; + } +#endif + Tcl_DeleteExitHandler(TkFinalize, NULL); Tcl_MutexLock(&exitMutex); |