Skip to content

Commit fc57490

Browse files
authored
Merge pull request microsoft#189144 from microsoft/hediet/fix-189096
Revert "Guarantee that an autorun is not rerun if it is disposed (microsoft#188920)"
2 parents 3417c1f + 2aa6db3 commit fc57490

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/base/common/observableImpl/autorun.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ export class AutorunObserver<TChangeSummary = any> implements IObserver, IReader
118118
}
119119

120120
private _runIfNeeded() {
121-
if (this.state === AutorunState.upToDate || this.disposed) {
121+
if (this.state === AutorunState.upToDate) {
122122
return;
123123
}
124124

0 commit comments

Comments
 (0)