fix terminate packet

This commit is contained in:
moeny-matt 2024-12-10 15:24:17 -05:00
parent e4d2424f99
commit 5243267626

View File

@ -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: