Skip to content

Commit 39c69e9

Browse files
committed
Send Quit command on destroy
closes #7
1 parent 7b6190f commit 39c69e9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/hyperdeck/hyperdeck-core.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,7 @@ function HyperdeckCore(ip) {
276276
return;
277277
}
278278
destroyed = true;
279+
client.write('quit\n');
279280
responseHandler.destroy();
280281
client.destroy();
281282
};

0 commit comments

Comments
 (0)