forked from buildbot/buildbot
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix thread leak, fix sqlite errors on shutdown, add tests
This fixes a major thread leak, by ensuring that the ConnectionPool's close() method always gets called (fixes buildbot#722). That method was triggering spurious errors from sqlite, but passing check_same_thread=False fixes that (and fixes buildbot#714). This also represents further work on buildbot#725 by adding new, well-isolated tests
- Loading branch information
Dustin J. Mitchell
committed
Feb 21, 2010
1 parent
0f1da80
commit 5d41eef
Showing
3 changed files
with
83 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters