If Extensions.close() is called before the handshake is done, don't throw an error, just callback immediately.
This commit is contained in:
@@ -138,6 +138,7 @@ var instance = {
|
||||
},
|
||||
|
||||
close: function(callback, context) {
|
||||
if (!this._pipeline) return callback.call(context);
|
||||
this._pipeline.close(callback, context);
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user