mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-06 04:11:52 +00:00
remove old unused file, add a few documentation comments
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9001 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -102,6 +102,12 @@ bool Session::ready()
|
||||
|
||||
sanity_check(false);
|
||||
r = switch_channel_ready(channel) != 0;
|
||||
|
||||
/*! this is called every time ready is called as a workaround to
|
||||
make it threadsafe. it sets a flag, and all the places where it
|
||||
comes in and out of threadswap, check it. so the end result is
|
||||
you still get the hangup hook executed pretty soon after you
|
||||
hangup. */
|
||||
do_hangup_hook();
|
||||
|
||||
return r;
|
||||
|
||||
Reference in New Issue
Block a user