diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-09-21 13:30:00 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-09-21 13:30:00 +0000 |
commit | 5c6ede680b84fc7fa9473cec58a28a18a8e27cb0 (patch) | |
tree | ee85506b3f0ec83df06494fa46200200e603117e /eval.c | |
parent | f0434309688c439c1723261677f7a82a5e1b2e51 (diff) |
* eval.c (rb_thread_raise): no need to save dead thread context.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -9037,7 +9037,7 @@ rb_thread_raise(argc, argv, th) rb_f_raise(argc, argv); } - if (THREAD_SAVE_CONTEXT(curr_thread)) { + if (!rb_thread_dead(curr_thread) && THREAD_SAVE_CONTEXT(curr_thread)) { return th->thread; } |