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:
parent
149585ddc6
commit
264310ab5a
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue