mirror of https://github.com/status-im/metro.git
Log exit code
Reviewed By: @martinbigio Differential Revision: D2467457
This commit is contained in:
parent
d5d0a0cfba
commit
45d07e4f77
|
@ -33,7 +33,10 @@ class SocketServer {
|
|||
options
|
||||
);
|
||||
resolve(this);
|
||||
process.on('exit', () => fs.unlinkSync(sockPath));
|
||||
process.on('exit', code => {
|
||||
debug('exit code:', code);
|
||||
fs.unlinkSync(sockPath);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue