mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-01 01:44:23 +00:00
Merge branch 'sk-reduce-kill-project-errors'
This commit is contained in:
commit
577cf7ef4c
1 changed files with 2 additions and 1 deletions
|
@ -58,7 +58,8 @@ module.exports = LatexRunner =
|
||||||
id = "#{project_id}"
|
id = "#{project_id}"
|
||||||
logger.log {id:id}, "killing running compile"
|
logger.log {id:id}, "killing running compile"
|
||||||
if not ProcessTable[id]?
|
if not ProcessTable[id]?
|
||||||
return callback new Error("no such project to kill")
|
logger.warn {id}, "no such project to kill"
|
||||||
|
return callback(null)
|
||||||
else
|
else
|
||||||
CommandRunner.kill ProcessTable[id], callback
|
CommandRunner.kill ProcessTable[id], callback
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue