Commit e51eb2dd authored by Sebastien Decugis's avatar Sebastien Decugis
Browse files

Delay the destruction of the queues in sctps wrapper

parent 6b621904
......@@ -118,11 +118,6 @@ error:
CHECK_FCT_DO( fd_event_send( Target_Queue(conn), FDEVP_CNX_ERROR, 0, NULL), /* continue or destroy everything? */);
}
/* Since the demux thread terminates, we must trig an error for all decipher threads. We do this by destroying all demuxed FIFO queues */
for (strid = 0; strid < conn->cc_sctp_para.pairs; strid++) {
fd_event_destroy( &conn->cc_sctps_data.array[strid].raw_recv, free );
}
goto out;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment