]> git.ipfire.org Git - thirdparty/freeswitch.git/commit
Since there isn't neutral ground, on the rtmp state callback we actually have to...
authorWilliam King <william.king@quentustech.com>
Mon, 13 May 2013 22:10:03 +0000 (15:10 -0700)
committerTravis Cross <tc@traviscross.com>
Fri, 7 Jun 2013 07:26:28 +0000 (07:26 +0000)
commitb214f2076889a95bbf7a70539f563b447047ff88
tree27fb369f68b622250b89fdf86f7c0a5719ecc853
parentce9bf959e94841f0c2574eed4e850a3b8f66d987
Since there isn't neutral ground, on the rtmp state callback we actually have to force the write lock of the session, but we only need a try lock on removing the session from the rsession->session_hash. This removes a deadlock caused when we had to enforce with locks that the rsession couldn't be destroyed if the FS session was in the middle of a hangup.
src/mod/endpoints/mod_rtmp/mod_rtmp.c