diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/generator.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/generator.rb b/lib/generator.rb index 03ff0962d4..c5282785b3 100644 --- a/lib/generator.rb +++ b/lib/generator.rb @@ -71,6 +71,8 @@ class Generator end @index = 0 @queue = [] + @main_thread = nil + @loop_thread.kill if defined?(@loop_thread) @loop_thread = Thread.new do Thread.stop begin |