print message before destroying obj
This commit is contained in:
parent
5406fb8a11
commit
0ca2c2b0e7
|
@ -366,8 +366,8 @@ Dbh::~Dbh()
|
|||
bool Dbh::release()
|
||||
{
|
||||
if (dbh) {
|
||||
switch_cache_db_release_db_handle(&dbh);
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "DBH handle %p released.\n", (void *) dbh);
|
||||
switch_cache_db_release_db_handle(&dbh);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue