fix terminate packet
This commit is contained in:
parent
e4d2424f99
commit
5243267626
@ -48,7 +48,7 @@ function handlePacket(socket, audioStream, packet) {
|
||||
switch (packetType) {
|
||||
case PACKET_TYPES.TERMINATE:
|
||||
console.log('Terminate packet received. Closing connection.');
|
||||
socket.kill();
|
||||
socket.end();
|
||||
break;
|
||||
|
||||
case PACKET_TYPES.UUID:
|
||||
|
Loading…
Reference in New Issue
Block a user