Only terminate worker after the worker completes work

This commit is contained in:
Corey Johnson & Kevin Sawicki
2013-02-19 10:39:21 -08:00
parent eb7ed3df33
commit 7db83662b5
4 changed files with 13 additions and 8 deletions

View File

@@ -11,7 +11,7 @@ class LoadTextMatePackagesTask extends Task
loadNextPackage: ->
unless @packages.length
@terminate()
@done()
syntax.trigger 'grammars-loaded'
return