Skip to content

Commit

Permalink
chore(ConnectableObservable): remove unused code (#4581)
Browse files Browse the repository at this point in the history
there is no need for the assignment
  • Loading branch information
githubxiaowen authored and benlesh committed Mar 15, 2019
1 parent d2c65a0 commit 8c5d831
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/internal/observable/ConnectableObservable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@ export class ConnectableObservable<T> extends Observable<T> {
if (connection.closed) {
this._connection = null;
connection = Subscription.EMPTY;
} else {
this._connection = connection;
}
}
return connection;
Expand Down

0 comments on commit 8c5d831

Please sign in to comment.