Skip to content

Commit

Permalink
Attempt to prevent double from of sqlite3_stmt
Browse files Browse the repository at this point in the history
Report: #632
  • Loading branch information
developernotes committed Jul 28, 2023
1 parent 2b7dc24 commit d9ee722
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ private void compile(String sql, boolean forceCompilation) {
}
}

/* package */ void releaseSqlStatement() {
/* package */ synchronized void releaseSqlStatement() {
// Note that native_finalize() checks to make sure that nStatement is
// non-null before destroying it.
if (nStatement != 0) {
Expand Down

0 comments on commit d9ee722

Please sign in to comment.