Skip to content

Commit

Permalink
chore(bugfix): Small fix in autorun
Browse files Browse the repository at this point in the history
  • Loading branch information
dotansimha committed Sep 22, 2016
1 parent 55dc88b commit 106ffd4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion dist/MeteorObservable.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ var MeteorObservable = (function () {
return rxjs_1.Observable.create(function (observer) {
var handler = Tracker.autorun(function (computation) {
observer.next(computation);
observer.complete();
});
return function () { return handler.stop(); };
});
Expand Down
1 change: 0 additions & 1 deletion src/MeteorObservable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ export class MeteorObservable {
return Observable.create((observer: Subscriber<Meteor.Error | Tracker.Computation>) => {
let handler = Tracker.autorun((computation: Tracker.Computation) => {
observer.next(computation);
observer.complete();
});

return () => handler.stop();
Expand Down

0 comments on commit 106ffd4

Please sign in to comment.