mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-17 09:12:25 +00:00
nm this is bad
This commit is contained in:
parent
013222bba3
commit
7626a6c6b4
@ -155,7 +155,6 @@ SWITCH_DECLARE(void) switch_cache_db_flush_handles(void)
|
|||||||
SWITCH_DECLARE(void) switch_cache_db_release_db_handle(switch_cache_db_handle_t ** dbh)
|
SWITCH_DECLARE(void) switch_cache_db_release_db_handle(switch_cache_db_handle_t ** dbh)
|
||||||
{
|
{
|
||||||
if (dbh && *dbh) {
|
if (dbh && *dbh) {
|
||||||
switch_clear_flag(*dbh, CDF_INUSE);
|
|
||||||
switch_mutex_unlock((*dbh)->mutex);
|
switch_mutex_unlock((*dbh)->mutex);
|
||||||
*dbh = NULL;
|
*dbh = NULL;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user