summaryrefslogtreecommitdiffstats
path: root/generic/tkWindow.c
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2023-05-03 20:28:22 (GMT)
committerfvogel <fvogelnew1@free.fr>2023-05-03 20:28:22 (GMT)
commit41d0a7dc450b7735f3bc31b21777562b08ffbb77 (patch)
tree1611ce294bbd98ef738e38af3751ed280806c60a /generic/tkWindow.c
parente5f42d041cd692c44bce973ea5898d706c317a9d (diff)
parent05dfa1f94e49a86cb82880554b93db4b9200e0fa (diff)
downloadtk-41d0a7dc450b7735f3bc31b21777562b08ffbb77.zip
tk-41d0a7dc450b7735f3bc31b21777562b08ffbb77.tar.gz
tk-41d0a7dc450b7735f3bc31b21777562b08ffbb77.tar.bz2
Fix [310c74ecf4]: ThemeChangedProc() can be called after Tk destroyed.
Diffstat (limited to 'generic/tkWindow.c')
-rw-r--r--generic/tkWindow.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/generic/tkWindow.c b/generic/tkWindow.c
index fef3c55..4dbae38 100644
--- a/generic/tkWindow.c
+++ b/generic/tkWindow.c
@@ -1643,6 +1643,7 @@ Tk_DestroyWindow(
TkFontPkgFree(winPtr->mainPtr);
TkFocusFree(winPtr->mainPtr);
TkStylePkgFree(winPtr->mainPtr);
+ Ttk_TkDestroyedHandler(winPtr->mainPtr->interp);
/*
* When embedding Tk into other applications, make sure that all