MCPcopy Create free account
hub / github.com/WiseLibs/better-sqlite3 / Cleanup

Method Cleanup

src/addon.cpp:7–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5 cs(env) {}
6
7 static void Cleanup(Addon* addon) {
8 for (Database* db : addon->dbs) db->CloseHandles();
9 addon->dbs.clear();
10 delete addon;
11 }
12
13 inline sqlite3_uint64 NextId() {
14 return next_id++;

Callers

nothing calls this directly

Calls 1

CloseHandlesMethod · 0.45

Tested by

no test coverage detected