Skip to content

Commit

Permalink
[PrivilegedRequest] Close connection on destruction (rdkcentral#1575)
Browse files Browse the repository at this point in the history
Co-authored-by: Pierre Wielders <[email protected]>
  • Loading branch information
bramoosterhuis and pwielders authored Apr 21, 2024
1 parent 33bff2f commit 74874ef
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,10 @@ namespace Core {
, _signal(true, true)
{
}
~Connection() override = default;
~Connection() override
{
Close();
};

public:
uint32_t Request(const uint32_t waitTime, const string& connector, const uint32_t id, Container& descriptors)
Expand Down

0 comments on commit 74874ef

Please sign in to comment.