Skip to content

Commit

Permalink
very minor fix to explicitly release this capture
Browse files Browse the repository at this point in the history
  • Loading branch information
serges147 committed Jan 31, 2025
1 parent d17f264 commit 3d0320d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/libcyphal/presentation/presentation.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ class Presentation final : private detail::IPresentationDelegate

~Presentation()
{
unref_nodes_deleter_callback_.reset();
destroyUnreferencedNodes();

CETL_DEBUG_ASSERT(shared_client_nodes_.empty(), //
Expand Down

0 comments on commit 3d0320d

Please sign in to comment.