mirror of
https://github.com/coturn/coturn.git
synced 2025-10-24 12:31:00 +02:00
Fix: sqlite disconnect function
This commit is contained in:
parent
e1cec37f27
commit
a409588eda
@ -1294,7 +1294,7 @@ static int sqlite_list_admin_users(int no_print)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void *sqlite_disconnect(void) {
|
static void sqlite_disconnect(void) {
|
||||||
sqlite3 *sqliteconnection = (sqlite3 *)pthread_getspecific(connection_key);
|
sqlite3 *sqliteconnection = (sqlite3 *)pthread_getspecific(connection_key);
|
||||||
if (sqliteconnection) {
|
if (sqliteconnection) {
|
||||||
sqlite3_close(sqliteconnection);
|
sqlite3_close(sqliteconnection);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user