On Wed Nov 1 10:13:29 2023 +0000, Nikolay Sivov wrote:
If calling it outside of the lock is how it should work, and it fixes the deadlock, I don't see a need of initial proposed change.
oh, ok. i can write a test to check if session shutdown is called with engine locked.