lib/reveal-ck/commands/thread_waker.rb in reveal-ck-3.9.2 vs lib/reveal-ck/commands/thread_waker.rb in reveal-ck-4.0.0
- old
+ new
@@ -9,10 +9,10 @@
def run
Thread.new do
loop do
sleep @wait_period
- @thread_to_wake.wakeup
+ @thread_to_wake.wakeup if @thread_to_wake.alive?
end
end
end
end
end