# File lib/selenium/webdriver/firefox/socket_lock.rb, line 16 def locked(&blk) lock begin yield ensure release end end