mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-10 05:28:19 -05:00
Fix leaked disposable in OutputMonitor._setupIdleInputListener (#312898)
This commit is contained in:
@@ -473,6 +473,9 @@ export class OutputMonitor extends Disposable implements IOutputMonitor {
|
||||
* This ensures we catch any input that happens between idle detection and prompt creation.
|
||||
*/
|
||||
private _setupIdleInputListener(): void {
|
||||
if (this._store.isDisposed) {
|
||||
return;
|
||||
}
|
||||
this._userInputtedSinceIdleDetected = false;
|
||||
this._logService.trace('OutputMonitor: Setting up idle input listener');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user