FS-4591 --resolve

This commit is contained in:
Anthony Minessale 2012-09-04 15:07:09 -05:00
parent 76dd6db3a2
commit de0f311f2d
1 changed files with 2 additions and 0 deletions

View File

@ -145,6 +145,8 @@ namespace FreeSWITCH.Native
switch_state_handler_t_delegate del = ptr => {
using (var sess = new ManagedSession(new SWIGTYPE_p_switch_core_session(ptr, false))) {
handler(sess);
sess.setAutoHangup(false);
sess.destroy();
return switch_status_t.SWITCH_STATUS_SUCCESS;
}
};