fix bug in worker cleanup

This commit is contained in:
Brian 2015-03-11 14:53:06 +00:00
parent 220f82a395
commit c3a70b6184

View file

@ -16,7 +16,7 @@ class ASpellWorkerPool
return null
worker = new ASpellWorker(language, @options)
worker.pipe.on 'exit', () =>
@cleanup
@cleanup()
@PROCESS_POOL.push(worker)
return worker