@rexpie, thank you very much for your analysis and for the reported issue.
What currently happens on handle_error is that the application will exit: so probably it doesn't matter much that this lock is not explicitly released (all resources will be released on exit).
Anyway - it's a good practice to avoid unmatched unlocks so thanks again for noticing that.
@rexpie, thank you very much for your analysis and for the reported issue.
What currently happens on handle_error is that the application will exit: so probably it doesn't matter much that this lock is not explicitly released (all resources will be released on exit).
Anyway - it's a good practice to avoid unmatched unlocks so thanks again for noticing that.