Fixed critical shutdown race in _Database._commit.
Related to SF patch 723231 (which pointed out the problem, but didn't fix it, just shut up the warning msg -- which was pointing out a dead- serious bug!). Bugfix candidate.
T
Tim Peters committed
d7472ec13a65c6c5ff00365b1477677d1fecbb3c
Parent: 5c5fca9