File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
meteor/server/publications/lib Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -30,11 +30,15 @@ export class RundownsObserver implements Meteor.LiveQueryHandle {
30
30
if ( this . #disposed) return
31
31
if ( ! this . #changed) return
32
32
this . #cleanup?.( )
33
+ this . #cleanup = undefined
33
34
34
35
const changed = this . #changed
35
36
this . #cleanup = await changed ( this . rundownIds )
36
37
37
- if ( this . #disposed) this . #cleanup?.( )
38
+ if ( this . #disposed) {
39
+ this . #cleanup?.( )
40
+ this . #cleanup = undefined
41
+ }
38
42
} , REACTIVITY_DEBOUNCE )
39
43
40
44
private constructor ( onChanged : ChangedHandler ) {
@@ -109,5 +113,6 @@ export class RundownsObserver implements Meteor.LiveQueryHandle {
109
113
this . #rundownsLiveQuery. stop ( )
110
114
this . #changed = undefined
111
115
this . #cleanup?.( )
116
+ this . #cleanup = undefined
112
117
}
113
118
}
You can’t perform that action at this time.
0 commit comments