This commit is contained in:
Brandon Nozaki Miller 2015-08-22 22:56:51 -07:00
parent c2889c6a97
commit 9007c536ec

View file

@ -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);