lib/upperkut/processor.rb in upperkut-0.7.0 vs lib/upperkut/processor.rb in upperkut-0.7.1
- old
+ new
@@ -26,9 +26,10 @@
end
end
def kill
return unless @thread
+
@thread.raise Upperkut::Shutdown
@thread.value # wait
end
private