Hang after exiting DoorParty! #282
This commit is contained in:
@@ -67,6 +67,7 @@ exports.getModule = class DoorPartyModule extends MenuModule {
|
|||||||
|
|
||||||
if(doorTracking) {
|
if(doorTracking) {
|
||||||
trackDoorRunEnd(doorTracking);
|
trackDoorRunEnd(doorTracking);
|
||||||
|
doorTracking = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@@ -103,6 +104,10 @@ exports.getModule = class DoorPartyModule extends MenuModule {
|
|||||||
self.client.term.rawWrite(d);
|
self.client.term.rawWrite(d);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
stream.on('end', () => {
|
||||||
|
sshClient.end();
|
||||||
|
});
|
||||||
|
|
||||||
stream.on('close', () => {
|
stream.on('close', () => {
|
||||||
restorePipe();
|
restorePipe();
|
||||||
sshClient.end();
|
sshClient.end();
|
||||||
|
|||||||
Reference in New Issue
Block a user