mirror of
https://github.com/appium/appium.git
synced 2026-02-12 04:50:08 -06:00
Fix #148 leaving domain sockets open
In order to make sure the domain socket closes, we need to close() the socket server itself, which requires paying attention to its creation and
This commit is contained in:
@@ -29,6 +29,7 @@ var Instruments = function(app, udid, bootstrap, template, sock, cb, exitCb) {
|
||||
this.eventRouter = {
|
||||
'cmd': this.commandHandler
|
||||
};
|
||||
this.socketServer = null;
|
||||
if (typeof sock === "undefined") {
|
||||
sock = '/tmp/instruments_sock';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user