diff options
author | Benny Prijono <bennylp@teluu.com> | 2012-05-22 23:13:22 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2012-05-22 23:13:22 +0000 |
commit | 67a79c1015da7353843ea14405441b19b0dfc955 (patch) | |
tree | 4cc521ba403ac91a288eef54dbd6fe56b2a563f6 /pjsip/src/pjsua-lib/pjsua_call.c | |
parent | aae22a60d14fd0956dee56deabd9ccec13d8d02e (diff) |
Fixed #1515: Sound device is not closed when the call fails to connect (thanks Régis Montoya for the report)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4145 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/src/pjsua-lib/pjsua_call.c')
-rw-r--r-- | pjsip/src/pjsua-lib/pjsua_call.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pjsip/src/pjsua-lib/pjsua_call.c b/pjsip/src/pjsua-lib/pjsua_call.c index 948c54f7..460c269e 100644 --- a/pjsip/src/pjsua-lib/pjsua_call.c +++ b/pjsip/src/pjsua-lib/pjsua_call.c @@ -3128,6 +3128,8 @@ static void pjsua_call_on_state_changed(pjsip_inv_session *inv, /* Reset call */ reset_call(call->index); + pjsua_check_snd_dev_idle(); + PJSUA_UNLOCK(); } pj_log_pop_indent(); |