mirror of
https://github.com/microsoft/vscode.git
synced 2026-09-23 15:24:20 +01:00
Fix potential cell statusbar issue
This commit is contained in:
+1
-1
@@ -174,11 +174,11 @@ class TimerCellStatusBarHelper extends Disposable {
|
||||
) {
|
||||
super();
|
||||
|
||||
this._scheduler = this._register(new RunOnceScheduler(() => this._update(), TimerCellStatusBarHelper.UPDATE_INTERVAL));
|
||||
this._update();
|
||||
this._register(
|
||||
Event.filter(this._cell.model.onDidChangeMetadata, e => !!e.runStateChanged)
|
||||
(() => this._update()));
|
||||
this._scheduler = this._register(new RunOnceScheduler(() => this._update(), TimerCellStatusBarHelper.UPDATE_INTERVAL));
|
||||
}
|
||||
|
||||
private async _update() {
|
||||
|
||||
Reference in New Issue
Block a user