mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 05:25:34 +02:00
* ext/tcltklib/tcltklib.c (ip_delete): when a tcltkip is deleted, destroy its root widget
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
cf171264b8
commit
177fdc1f59
2 changed files with 6 additions and 0 deletions
|
@ -3094,6 +3094,7 @@ ip_delete(self)
|
|||
{
|
||||
struct tcltkip *ptr = get_ip(self);
|
||||
|
||||
del_root(ptr->ip);
|
||||
Tcl_DeleteInterp(ptr->ip);
|
||||
|
||||
return Qnil;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue