diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-05-23 08:11:21 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-05-23 08:11:21 +0000 |
commit | f5268abe45030a7a109f3b20a8db5f7537039726 (patch) | |
tree | 1a25141e5bc6ba282176cd81489f3eac7267582a /eval.c | |
parent | 521f3c08c26f96d35802605b11a2f691db7add92 (diff) | |
download | ruby-f5268abe45030a7a109f3b20a8db5f7537039726.tar.gz ruby-f5268abe45030a7a109f3b20a8db5f7537039726.tar.xz ruby-f5268abe45030a7a109f3b20a8db5f7537039726.zip |
* eval.c (ruby_finalize): turn off ruby_debug flag before calling
at_exit procs and finalizers. (ruby-bugs-ja:PR473)
* ext/tcltklib/tcltklib.c (lib_mainloop_core): OK to block if
there's no other thread. (ruby-bugs:PR#861)
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1309,6 +1309,7 @@ ruby_finalize() { int state; + ruby_debug = Qfalse; PUSH_TAG(PROT_NONE); if ((state = EXEC_TAG()) == 0) { rb_trap_exit(); |