Skip to content

Commit 8554d8a

Browse files
cleanup
1 parent 623d855 commit 8554d8a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cpp/ConnectionPool.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ void ConnectionPool::closeContext(ConnectionLockId contextId) {
171171
void ConnectionPool::closeAll() {
172172
// Prevent this pointer from being used if closed
173173
rollbackPayload.dbName = NULL;
174+
commitPayload.dbName = NULL;
174175
sqlite3_commit_hook(writeConnection.connection,
175176
NULL, NULL);
176177
sqlite3_rollback_hook(writeConnection.connection,

0 commit comments

Comments
 (0)