DoSomething/dosomething — pull request #3357 by sergii-tkachenko (2014-11-06 21:18:01+00:00)
Title: Fixes lock being set on premature returns.

Fix a bug in lock logic introduced in #3095 and #3338.