mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/tk/tcltklib.c (ip_delete): fix SEGV when a slave-ip is deleted
on callback. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
439600afbd
commit
6fa7d6cb01
2 changed files with 5 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Mon Jun 26 18:37:44 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
|
||||||
|
|
||||||
|
* ext/tk/tcltklib.c (ip_delete): fix SEGV when a slave-ip is
|
||||||
|
deleted on callback.
|
||||||
|
|
||||||
Sun Jun 25 23:02:12 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Sun Jun 25 23:02:12 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* Makefile.in, mkconfig.rb: catch-up for latest autoconf.
|
* Makefile.in, mkconfig.rb: catch-up for latest autoconf.
|
||||||
|
|
|
@ -5265,8 +5265,6 @@ ip_delete(self)
|
||||||
Tcl_DeleteInterp(ptr->ip);
|
Tcl_DeleteInterp(ptr->ip);
|
||||||
Tcl_Release(ptr->ip);
|
Tcl_Release(ptr->ip);
|
||||||
|
|
||||||
ptr->ip = (Tcl_Interp*)NULL;
|
|
||||||
|
|
||||||
rb_thread_critical = thr_crit_bup;
|
rb_thread_critical = thr_crit_bup;
|
||||||
|
|
||||||
return Qnil;
|
return Qnil;
|
||||||
|
|
Loading…
Reference in a new issue