Revert "No need to create an object to handle the lock is such a simple case."
This reverts commit f001a156. This is usually a good practice. Moreover compare to locking and unlocking the potential overhead is really small.
Showing
Please register or sign in to comment