-
Notifications
You must be signed in to change notification settings - Fork 0
Improper socket handling #4
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Lines 51 to 54 in 8f90d12
| virtual ~Entity() | |
| { | |
| if (sock_.has_value()) { close(*sock_); } | |
| } |
There is a chance the socket could be closed before all data are send/received. First shutdown socket, then close.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working