Skip to content

Commit 3378312

Browse files
committed
Revert "Guarantee that an autorun is not rerun if it is disposed (microsoft#188920)"
This reverts commit 96ebd36.
1 parent 58882c2 commit 3378312

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)