This fixes a Traceback that originates from the Session object being force-closed in another thread if SqlAlchemyConnector was used in a different thread.
Re spine-tools/Spine-Toolbox#1140
Checklist before merging
[x] Documentation (also in Toolbox repo) is up-to-date
[x] Release notes in Toolbox repo have been updated
[x] Unit tests have been added/updated accordingly
This fixes a Traceback that originates from the Session object being force-closed in another thread if SqlAlchemyConnector was used in a different thread.
Re spine-tools/Spine-Toolbox#1140
Checklist before merging