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

Method ~Database

src/objects/database.cpp:36–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36Database::~Database() {
37 if (open) addon->dbs.erase(this);
38 CloseHandles();
39}
40
41// Whenever this is used, addon->dbs.erase() must be invoked beforehand.
42void Database::CloseHandles() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected