Minor tweaks to be slightly more defensive when we acquire the non-exclusive lock for transactions. If anything goes wrong, we should release the lock before we throw the exception, so that users who are suppressing exceptions at least won't have any chance of deadlock.
Minor tweaks to be slightly more defensive when we acquire the non-exclusive lock for transactions. If anything goes wrong, we should release the lock before we throw the exception, so that users who are suppressing exceptions at least won't have any chance of deadlock.