Skip to content

Commit

Permalink
Network-related ports need more work to release their state early
Browse files Browse the repository at this point in the history
  • Loading branch information
Oldes committed Oct 19, 2024
1 parent 917fe8c commit 03d349e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/p-net.c
Original file line number Diff line number Diff line change
Expand Up @@ -360,8 +360,8 @@ enum Transport_Types {
if (OS_DO_DEVICE(sock, RDC_CLOSE) < 0) {
Trap_Port(RE_CANNOT_CLOSE, port, sock->error);
}
//SET_CLOSED(sock);
Release_Port_State(port);
SET_CLOSED(sock);
//Release_Port_State(port); // Crashes on POSIX with the unit test for issue-2445!
}
break;

Expand Down

0 comments on commit 03d349e

Please sign in to comment.