From 106ffd4347db88331c47788438597ef259afae03 Mon Sep 17 00:00:00 2001 From: dotansimha Date: Thu, 22 Sep 2016 17:02:28 +0300 Subject: [PATCH] chore(bugfix): Small fix in autorun --- dist/MeteorObservable.js | 1 - src/MeteorObservable.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/dist/MeteorObservable.js b/dist/MeteorObservable.js index 76400bf3..39cc6436 100644 --- a/dist/MeteorObservable.js +++ b/dist/MeteorObservable.js @@ -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(); }; }); diff --git a/src/MeteorObservable.ts b/src/MeteorObservable.ts index 0a9e5754..efd7a787 100644 --- a/src/MeteorObservable.ts +++ b/src/MeteorObservable.ts @@ -55,7 +55,6 @@ export class MeteorObservable { return Observable.create((observer: Subscriber) => { let handler = Tracker.autorun((computation: Tracker.Computation) => { observer.next(computation); - observer.complete(); }); return () => handler.stop();