mirror of
https://github.com/atom/atom.git
synced 2026-02-15 00:55:14 -05:00
Only terminate worker after the worker completes work
This commit is contained in:
@@ -11,7 +11,7 @@ class LoadTextMatePackagesTask extends Task
|
||||
|
||||
loadNextPackage: ->
|
||||
unless @packages.length
|
||||
@terminate()
|
||||
@done()
|
||||
syntax.trigger 'grammars-loaded'
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user