Use the thread lock's context manager instead of a try/finally statement.
1 file changed