Skip to content
Snippets Groups Projects
Commit 23e850dc authored by Sébastien Blin's avatar Sébastien Blin
Browse files

channeledtransport: fix segfault during callback destruction

onDestroy/onRecv should not be called after destruction. Because
ChanneledSIPTransport is managed by PJSIP, we can't pass a weak_ptr to the
callbacks, so just replace the callbacks during the destruction.

Change-Id: Ibc3f2baf8b4cdcfe45652fd14d1acc9d38a07af4
parent d98c5add
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment