idb
idb copied to clipboard
Abort unfinished transaction on Drop
It would be convenient if a transaction that wasn't explicitly flushed with done()
or commit()
instead automatically called abort()
when dropped.
This would allow users to more easily bail with the ?
operator without leaving uncommited, half-finished transactions around.