mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
fix bug in worker cleanup
This commit is contained in:
parent
220f82a395
commit
c3a70b6184
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue