Fix an obscure bug causing sqlite3_close() to fail if there are virtual tables on the disconnect list when it is called.
FossilOrigin-Name: 6504aa47a8ebb13827be017c4cb4b2dc3c4c55f4
D
dan committed
d88e521f591a447cc13b377fcbd078ed435ebdb8
Parent: 82d25da