[3.13] gh-140042: Removing unsafe call to sqlite3_shutdown (GH-141793) (#141812)

This commit is contained in:
Prithviraj Chaudhuri 2025-11-30 07:33:05 -05:00 committed by GitHub
parent bb8984f895
commit 2d05a0cc2e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 1 deletions

View file

@ -0,0 +1 @@
Removed the sqlite3_shutdown call that could cause closing connections for sqlite when used with multiple sub interpreters.

View file

@ -751,7 +751,6 @@ module_exec(PyObject *module)
return 0;
error:
sqlite3_shutdown();
return -1;
}