-
Klaus Aehlig authored
Move the release statement for the BGL to the finally block enclosing the statement that acquired it. In this way, we are sure to always eventually release the BGL. Also replace the freeing request by a FreeLocksLevel request, which also cancels all pending requests that still might exist. Signed-off-by: Klaus Aehlig <aehlig@google.com> Reviewed-by: Petr Pudlak <pudlak@google.com>
6cfc67c5