Commit c6202d42 authored by Emmanuel Milou's avatar Emmanuel Milou
Browse files

Join thread before leaving

parent 6281bb80
......@@ -1409,7 +1409,8 @@ SIPVoIPLink::SIPCallAnswered(SIPCall *call, pjsip_rx_data *rdata)
_debug("UserAgent: Shutting down...\n");
busy_sleep(1000);
}
pj_thread_join( thread );
pj_thread_destroy( thread );
thread = NULL;
......
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