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

Method ~Database

src/objects/database.cpp:31–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected