1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

rtp node: make pthread for re_main static and add deconstructor call for rtp socket

This commit is contained in:
Marvin Klimke 2019-01-16 16:41:02 +01:00
parent 149585ddc6
commit 264310ab5a

View file

@ -40,7 +40,7 @@
#include <villas/utils.h>
#include <villas/format_type.h>
pthread_t re_pthread;
static pthread_t re_pthread;
int rtp_reverse(struct node *n)
{
@ -192,7 +192,7 @@ int rtp_stop(struct node *n)
int ret;
struct rtp *r = (struct rtp *) n->_vd;
/*mem_deref(r->rs);*/
mem_deref(r->rs);
ret = queue_signalled_close(&r->recv_queue);
if (ret)