MCPcopy Index your code
hub / github.com/antirez/botlib / dbClose

Function dbClose

botlib.c:627–630  ·  view source on GitHub ↗

Should be called every time a thread exits, so that if the thread has * an SQLite thread-local handle, it gets closed. */

Source from the content-addressed store, hash-verified

625/* Should be called every time a thread exits, so that if the thread has
626 * an SQLite thread-local handle, it gets closed. */
627void dbClose(void) {
628 if (DbHandle) sqlite3_close(DbHandle);
629 DbHandle = NULL;
630}
631
632/* =============================================================================
633 * Bot requests handling

Callers 1

botHandleRequestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected