diff options
author | fisch0920 <fisch0920@gmail.com> | 2014-05-16 14:17:01 +0400 |
---|---|---|
committer | fisch0920 <fisch0920@gmail.com> | 2014-05-16 14:17:01 +0400 |
commit | 8021381b1ab14cfe61e69eef7e8d53b0d8349e9c (patch) | |
tree | 3ec1513ada99ada14ca97bfc2a21a1af801931d1 /bin | |
parent | a1afa10e49f95293cb2b36d89f67af6f5f4446ad (diff) |
fixed possibility of hanging process on --remove and fixed an error in FSStorage.close
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/cmd.js | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -108,6 +108,9 @@ client.server.once('listening', function () { }) function remove () { + process.removeListener('SIGINT', remove) + process.removeListener('SIGTERM', remove) + client.destroy(function () { process.nextTick(function () { process.exit() |