mirror of
https://github.com/esiur/esiur-js.git
synced 2025-07-01 08:53:12 +00:00
AsyncReply is Promise
This commit is contained in:
@ -201,8 +201,8 @@ export default class DistributedConnection extends IStore {
|
||||
|
||||
this.socket.onclose = function(event)
|
||||
{
|
||||
if (this.openReply)
|
||||
this.openReply.triggerError();
|
||||
if (this.connection.openReply)
|
||||
this.connection.openReply.triggerError(0, 0, "Host not reachable");
|
||||
|
||||
self.close(event);
|
||||
};
|
||||
|
Reference in New Issue
Block a user