Skip to content

Commit f80cd74

Browse files
committed
fix closing sockets. set clientSocket to 0
1 parent ba231d1 commit f80cd74

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

socket.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -576,6 +576,7 @@ void cIptvTcpServerSocket::CloseSocket() {
576576
cIptvSocket::CloseSocket();
577577
if (clientSocketDescM) {
578578
close(clientSocketDescM);
579+
clientSocketDescM = 0;
579580
}
580581
}
581582

0 commit comments

Comments
 (0)