Skip to content

Commit d6f42ab

Browse files
committed
chore(fmt)
1 parent 5d86172 commit d6f42ab

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/sqlite_impl.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2977,7 +2977,8 @@ void Session::SetSession(DatabaseSync *database, sqlite3_session *session) {
29772977
// Create a strong reference to the database object to prevent it from being
29782978
// garbage collected while this session exists. This fixes use-after-free
29792979
// when the database is GC'd before its sessions.
2980-
// See: https://github.com/nodejs/node/pull/56840 (similar fix for statements)
2980+
// See: https://github.com/nodejs/node/pull/56840 (similar fix for
2981+
// statements)
29812982
database_ref_ = Napi::Persistent(database->Value());
29822983
}
29832984
}

0 commit comments

Comments
 (0)