gh-140042: Removing unsafe call to sqlite3_shutdown (GH-141690)

This commit is contained in:
Prithviraj Chaudhuri 2025-11-20 09:35:22 -05:00 committed by GitHub
parent 4273616ebf
commit b1558b6d3e
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

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