From 715499f90fbec2dc9ff7ef3e3c9c7ad812986303 Mon Sep 17 00:00:00 2001 From: nagai Date: Mon, 26 Jun 2006 09:41:34 +0000 Subject: * ext/tk/tcltklib.c (ip_delete): fix SEGV when a slave-ip is deleted on callback. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/tk/tcltklib.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'ext') diff --git a/ext/tk/tcltklib.c b/ext/tk/tcltklib.c index e43b98e2c..b9e859125 100644 --- a/ext/tk/tcltklib.c +++ b/ext/tk/tcltklib.c @@ -5269,8 +5269,6 @@ ip_delete(self) Tcl_DeleteInterp(ptr->ip); Tcl_Release(ptr->ip); - ptr->ip = (Tcl_Interp*)NULL; - rb_thread_critical = thr_crit_bup; return Qnil; -- cgit