summaryrefslogtreecommitdiffstats
path: root/generic/tkEvent.c
diff options
context:
space:
mode:
authordgp <dgp@noemail.net>2016-07-21 20:06:34 (GMT)
committerdgp <dgp@noemail.net>2016-07-21 20:06:34 (GMT)
commit6e21967c0573ca7a2744d318dc3ee0222875e273 (patch)
treecd7aaee28e7876e8bfdd77e835c534b13cbe5f98 /generic/tkEvent.c
parent5ad0f56fe1463cf9fb13dee7ee3319665e7d8fd6 (diff)
parent6ddcf9ad5374d63e332d9cf75792b0eb445efd5e (diff)
downloadtk-6e21967c0573ca7a2744d318dc3ee0222875e273.zip
tk-6e21967c0573ca7a2744d318dc3ee0222875e273.tar.gz
tk-6e21967c0573ca7a2744d318dc3ee0222875e273.tar.bz2
merge 8.6
FossilOrigin-Name: 0cb77e7f99a32d51ab693f35524f4e7138da07b4
Diffstat (limited to 'generic/tkEvent.c')
-rw-r--r--generic/tkEvent.c6
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);