From 0c4715380836e49a98af2b6a781f79b54b9a7370 Mon Sep 17 00:00:00 2001 From: Sam Date: Mon, 24 Jul 2017 15:17:48 -0400 Subject: [PATCH] clean up stop semantics --- lib/scheduler/manager.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/scheduler/manager.rb b/lib/scheduler/manager.rb index 3cbff459a44..0543c4af2e0 100644 --- a/lib/scheduler/manager.rb +++ b/lib/scheduler/manager.rb @@ -137,6 +137,8 @@ module Scheduler sleep 5 @thread.kill end + + @thread.join end end