Skip to content

Commit

Permalink
Add ConnectionManager#abort (used by RealtimeChannel#onMessage)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonWoolf committed Sep 21, 2015
1 parent 09d48b9 commit e6c2362
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions common/lib/transport/connectionmanager.js
Original file line number Diff line number Diff line change
Expand Up @@ -993,5 +993,9 @@ var ConnectionManager = (function() {
this.ping(this.activeProtocol.getTransport(), onPingComplete);
};

ConnectionManager.prototype.abort = function(error) {
this.activeProtocol.getTransport().abort(error);
};

return ConnectionManager;
})();

0 comments on commit e6c2362

Please sign in to comment.