Skip to content

Commit 703c81b

Browse files
prithviraj-chaudhuriashm-dev
authored andcommitted
pythongh-140042: Removing unsafe call to sqlite3_shutdown (pythonGH-141690)
1 parent 7dceff5 commit 703c81b

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
@@ -774,7 +774,6 @@ module_exec(PyObject *module)
774774
return 0;
775775

776776
error:
777-
sqlite3_shutdown();
778777
return -1;
779778
}
780779

0 commit comments

Comments
 (0)