Skip to content

Commit

Permalink
fix the destroy routine
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael committed Feb 26, 2024
1 parent b86b495 commit 53681fe
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/library/network/socket/private/active_socket_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,11 @@ void bcpp::network::active_socket_impl<P>::destroy
if (workContract_.is_valid())
{
workContract_.release();
}
else
if (sendWorkContract_.is_valid())
{
sendWorkContract_.release();
}
else
{
Expand Down

0 comments on commit 53681fe

Please sign in to comment.