Skip to content

Commit

Permalink
add missing cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Gauci committed Sep 12, 2019
1 parent ebb28be commit 9eedebf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/base/TcpSocketHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ void TcpSocketHandler::stopListening(const SocketEndpoint &endpoint) {
for (int sockFd : serverSockets) {
close(sockFd);
}
portServerSockets.erase(it);
}

void TcpSocketHandler::initSocket(int fd) {
Expand Down

0 comments on commit 9eedebf

Please sign in to comment.