Method: Spring::ApplicationManager#synchronize
- Defined in:
- lib/spring/application_manager.rb
#synchronize ⇒ Object
We’re not using @mutex.synchronize to avoid the weird “<internal:prelude>:10” line which messes with backtraces in e.g. rspec
22 23 24 25 26 27 |
# File 'lib/spring/application_manager.rb', line 22 def synchronize @mutex.lock yield ensure @mutex.unlock end |