 
     originalReady = publish.ready
     publish.ready = ->
-      if Tracker.active
-        currentComputation = Tracker.currentComputation
-      else
-        currentComputation = Fiber.current._publishComputation
-      if currentComputation
-        @_installCallbacks currentComputation
+      @_installCallbacks()
 
       # Mark it as ready only the first time.
       originalReady.call @ unless ready

    oldDocuments = {}
    documents = {}

    publish._installCallbacks = (computation) ->
      unless computation._publishOnStopSet
        computation._publishOnStopSet = true



        computation._trackerInstance.requireFlush()

      computation

    originalAdded = publish.added
    publish.added = (collectionName, id, fields) ->
      stringId = @_idFilter.idStringify id

      currentComputation = @_installCallbacks()
      Meteor._ensure(documents, currentComputation._id, collectionName)[stringId] = true if currentComputation

      # If document as already present in publish then we call changed to send updated fields (Meteor sends only a diff).
      # This can hide some errors in publish functions if they one calls "added" on an existing document and we could
