mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 13:29:44 +00:00
Allow to fire onClose
This commit is contained in:
parent
1277f16f5c
commit
b16a3a206e
|
@ -687,6 +687,10 @@ export class PersistentProtocol {
|
|||
this._recvKeepAliveCheck();
|
||||
}
|
||||
|
||||
public acceptDisconnect(): void {
|
||||
this._onClose.fire();
|
||||
}
|
||||
|
||||
private _receiveMessage(msg: ProtocolMessage): void {
|
||||
if (msg.ack > this._outgoingAckId) {
|
||||
this._outgoingAckId = msg.ack;
|
||||
|
|
Loading…
Reference in a new issue