Prevent seamless relaunch triggering multiple times

Fixes #119286
This commit is contained in:
Daniel Imms 2021-03-19 07:00:01 -07:00
parent c64a8d5927
commit 163aeeedac
No known key found for this signature in database
GPG key ID: D12BE8272D6284CC

View file

@ -636,6 +636,7 @@ class SeamlessRelaunchDataFilter extends Disposable {
this._firstRecorder = this._secondRecorder;
this._firstDisposable?.dispose();
this._firstDisposable = this._secondDisposable;
this._secondRecorder = undefined;
if (this._recordingTimeout) {
window.clearTimeout(this._recordingTimeout);
}