* SSH is now functional for 'ssh', PuTTY, SyncTerm, EtherTerm, and hopefully most others
* Explicit detect of syncterm as ANSI * Add serverType (TELNET, SSH) MCI: %ST
This commit is contained in:
@@ -425,7 +425,15 @@ Client.prototype.end = function () {
|
||||
|
||||
clearInterval(this.idleCheck);
|
||||
|
||||
return this.output.end.apply(this.output, arguments);
|
||||
try {
|
||||
//
|
||||
// We can end up calling 'end' before TTY/etc. is established, e.g. with SSH
|
||||
//
|
||||
// :TODO: is this OK?
|
||||
return this.output.end.apply(this.output, arguments);
|
||||
} catch(e) {
|
||||
// TypeError
|
||||
}
|
||||
};
|
||||
|
||||
Client.prototype.destroy = function () {
|
||||
|
||||
Reference in New Issue
Block a user