new_oid() wouldn't release _oid_lock if an exception happened (like
the _server.new_oids() raising Disconnected or ReadOnlyError). Fixed by adding a try/finally.
Showing
Please register or sign in to comment
the _server.new_oids() raising Disconnected or ReadOnlyError). Fixed by adding a try/finally.