summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorseki <seki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-04 17:06:41 +0000
committerseki <seki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-04 17:06:41 +0000
commitc298ce85fff9793c6803a95e67eed43a5421aa3c (patch)
tree4277d82a74defe8e2393e5fb5440990dffd544d1
parent6e3510abbd03d3457d98fec6bd3e2b4258ea0feb (diff)
downloadruby-c298ce85fff9793c6803a95e67eed43a5421aa3c.tar.gz
ruby-c298ce85fff9793c6803a95e67eed43a5421aa3c.tar.xz
ruby-c298ce85fff9793c6803a95e67eed43a5421aa3c.zip
exit from a thread using 'break'
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--lib/drb/drb.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/drb/drb.rb b/lib/drb/drb.rb
index ed0ceb542..2ff76e3f7 100644
--- a/lib/drb/drb.rb
+++ b/lib/drb/drb.rb
@@ -1422,7 +1422,7 @@ module DRb
ensure
unless succ
client.close
- return
+ break
end
end
end