We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45fd866 commit 6442a2fCopy full SHA for 6442a2f
lib/concurrent/simple_actor_ref.rb
@@ -52,6 +52,7 @@ def post!(seconds, *msg)
52
53
def shutdown
54
@mutex.synchronize do
55
+ return if @stopped
56
@stopped = true
57
if @thread && @thread.alive?
58
@thread.kill
0 commit comments