提交 0ca2c2b0 authored 作者: Anthony Minessale's avatar Anthony Minessale

print message before destroying obj

上级 5406fb8a
...@@ -366,8 +366,8 @@ Dbh::~Dbh() ...@@ -366,8 +366,8 @@ Dbh::~Dbh()
bool Dbh::release() bool Dbh::release()
{ {
if (dbh) { 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_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "DBH handle %p released.\n", (void *) dbh);
switch_cache_db_release_db_handle(&dbh);
return true; return true;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论