From 5037b3afa846c01858d91387ced40519194ad412 Mon Sep 17 00:00:00 2001 From: Paul Taylor Date: Fri, 29 Apr 2016 12:52:55 -0700 Subject: [PATCH] fix(ScalarObservable): set _isScalar to false when initialized with a scheduler --- src/observable/ScalarObservable.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/observable/ScalarObservable.ts b/src/observable/ScalarObservable.ts index 9f62866786..bffc907830 100644 --- a/src/observable/ScalarObservable.ts +++ b/src/observable/ScalarObservable.ts @@ -34,6 +34,9 @@ export class ScalarObservable extends Observable { constructor(public value: T, private scheduler?: Scheduler) { super(); + if (scheduler) { + this._isScalar = false; + } } protected _subscribe(subscriber: Subscriber): TeardownLogic {