Browse Source
Enclose the call to getStat in a `try`, and release the previously acquired lock in the `finally`. This prevents that the lock is left unreleased in the case of an exception being raised in getStat. Change-Id: I17b4cd134dae887e23a1165253be0ac2d4fd452c Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>stable-4.10
David Pursehouse
7 years ago
1 changed files with 5 additions and 2 deletions
Loading…
Reference in new issue