fixes #34
This commit is contained in:
parent
c2889c6a97
commit
9007c536ec
1 changed files with 2 additions and 2 deletions
|
@ -221,7 +221,7 @@ function connect(id,path,callback){
|
||||||
callback();
|
callback();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
ipc.of[id].destroy();
|
ipc.of[id].socket.destroy();
|
||||||
}
|
}
|
||||||
|
|
||||||
ipc.of[id] = new Client(ipc.config,ipc.log);
|
ipc.of[id] = new Client(ipc.config,ipc.log);
|
||||||
|
@ -290,7 +290,7 @@ function connectNet(id,host,port,callback){
|
||||||
callback();
|
callback();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
ipc.of[id].destroy();
|
ipc.of[id].socket.destroy();
|
||||||
}
|
}
|
||||||
|
|
||||||
ipc.of[id] = new Client(ipc.config,ipc.log);
|
ipc.of[id] = new Client(ipc.config,ipc.log);
|
||||||
|
|
Loading…
Reference in a new issue