forked from svrjs/svrjs
Fixed bug with Can't execute command "KILLREQ"
.
This commit is contained in:
parent
e6a25d931c
commit
68a42ccde8
2 changed files with 2 additions and 2 deletions
2
svr.js
2
svr.js
|
@ -4922,7 +4922,7 @@ function start(init) {
|
|||
} else if (line == "\x14KILLREQ") {
|
||||
if(reqcounter - reqcounterKillReq < 2) {
|
||||
process.send("\x12KILLTERMMSG");
|
||||
process.nextTick(commands.stop());
|
||||
process.nextTick(commands.stop);
|
||||
} else {
|
||||
reqcounterKillReq = reqcounter;
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
17
|
||||
0
|
||||
|
|
Reference in a new issue