Skip to content

Commit 6380651

Browse files
committed
We have to know in observeChanges if we are in a reactive context for reactive publish.
Not clear why this would be necessary. See Diggsey/meteor-reactive-publish@a1bed70a44cd4c 9680ce817503282cbfaa8a7cb1
1 parent cf91240 commit 6380651

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

server.coffee

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ MeteorCursor::_depend = (changers) ->
3434
initializing = false
3535

3636
MeteorCursor::observeChanges = (options) ->
37-
handle = Tracker.nonreactive =>
38-
originalObserveChanges.call @, options
37+
handle = originalObserveChanges.call @, options
3938
if Tracker.active and @_isReactive()
4039
Tracker.onInvalidate =>
4140
handle.stop()

0 commit comments

Comments
 (0)