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:
Traun Leyden
2008-07-11 21:56:18 +00:00
parent 8d8dec2830
commit c00d1fb8e4
3 changed files with 10 additions and 72 deletions
@@ -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;