mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
[3.14] gh-140042: Removing unsafe call to sqlite3_shutdown (GH-141690) (#141793)
Co-authored-by: Prithviraj Chaudhuri <p.chaudhuri1993@gmail.com>
This commit is contained in:
parent
848a2ebe53
commit
212b096b2a
2 changed files with 1 additions and 1 deletions
|
|
@ -0,0 +1 @@
|
|||
Removed the sqlite3_shutdown call that could cause closing connections for sqlite when used with multiple sub interpreters.
|
||||
|
|
@ -745,7 +745,6 @@ module_exec(PyObject *module)
|
|||
return 0;
|
||||
|
||||
error:
|
||||
sqlite3_shutdown();
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue