Skip to content

Commit

Permalink
fix(subscription): set this.closed
Browse files Browse the repository at this point in the history
global closed property was being set
  • Loading branch information
tusharmath committed Oct 17, 2016
1 parent b8c2d0e commit 940ef37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/Subscription.ts
Expand Up @@ -15,7 +15,7 @@ export class Subscription implements ISubscription {

unsubscribe (): void {
this.f()
closed = true
this.closed = true
}

static from (subscription: ISubscription | ITask | void): ISubscription {
Expand Down

0 comments on commit 940ef37

Please sign in to comment.