locking: Fix lock deletion with timeout
While working on another SharedLock fix I realized timeouts on lock deletion don't work very well if the timeout actually expires. This patch fixes the issue and adds a new unittest. Signed-off-by:Michael Hanselmann <hansmi@google.com> Reviewed-by:
Bernardo Dal Seno <bdalseno@google.com>
Loading
Please register or sign in to comment