summaryrefslogtreecommitdiff
path: root/ext/tk/lib/tk.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/tk/lib/tk.rb')
-rw-r--r--ext/tk/lib/tk.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/tk/lib/tk.rb b/ext/tk/lib/tk.rb
index bc9cb0676f0..736a12fd263 100644
--- a/ext/tk/lib/tk.rb
+++ b/ext/tk/lib/tk.rb
@@ -2841,6 +2841,7 @@ class TkWindow<TkObject
end
def destroy
+ super
tk_call 'destroy', epath
if @cmdtbl
for id in @cmdtbl