mirror of
https://github.com/MCSManager/MCSManager.git
synced 2025-01-18 15:04:04 +08:00
develop
This commit is contained in:
parent
d2f2201171
commit
24bd218925
@ -175,7 +175,7 @@ class ServerProcess extends EventEmitter {
|
||||
});
|
||||
});
|
||||
// 进程事件传递
|
||||
stream.on('exit', (e) => {
|
||||
stream.on('close', (e) => {
|
||||
self.emit('exit', code);
|
||||
self.stop();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user