Skip to content

Commit

Permalink
fixed segfault on udp receiver destruction (#1282)
Browse files Browse the repository at this point in the history
  • Loading branch information
rex-schilasky authored Jan 2, 2024
1 parent cd67b47 commit d45403c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ecal/core/src/io/udp/ecal_udp_sample_receiver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,11 @@ namespace eCAL

CSampleReceiver::~CSampleReceiver()
{
// stop receiver thread
m_udp_receiver_thread->stop();

// destroy udp receiver
m_udp_receiver.Destroy();
}

bool CSampleReceiver::AddMultiCastGroup(const char* ipaddr_)
Expand Down

0 comments on commit d45403c

Please sign in to comment.