diff --git a/ecal/core/src/io/udp/ecal_udp_sample_receiver.cpp b/ecal/core/src/io/udp/ecal_udp_sample_receiver.cpp index 175da4e058..56b24e6a4f 100644 --- a/ecal/core/src/io/udp/ecal_udp_sample_receiver.cpp +++ b/ecal/core/src/io/udp/ecal_udp_sample_receiver.cpp @@ -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_)