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

Method ~Database

src/objects/database.cpp:30–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30Database::~Database() {
31 if (open) addon->dbs.erase(this);
32 CloseHandles();
33}
34
35// Whenever this is used, addon->dbs.erase() must be invoked beforehand.
36void Database::CloseHandles() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected