It seems in some applications (though not most of the ones I initially tested) this can get used recursively, so we need a recursive_lock in order to not deadlock. Also commit a missed change from the previous commit.
It seems in some applications (though not most of the ones I initially tested) this can get used recursively, so we need a recursive_lock in order to not deadlock. Also commit a missed change from the previous commit.