Skip to content

Commit 91640ab

Browse files
gh-140042: Removing unsafe call to sqlite3_shutdown (GH-141690)
(cherry picked from commit b1558b6)
1 parent 5285ccc commit 91640ab

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Removed the sqlite3_shutdown call that could cause closing connections for sqlite when used with multiple sub interpreters.

Modules/_sqlite/module.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -751,7 +751,6 @@ module_exec(PyObject *module)
751751
return 0;
752752

753753
error:
754-
sqlite3_shutdown();
755754
return -1;
756755
}
757756

0 commit comments

Comments
 (0)