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
18 19 20 21 22 23 |
# File 'lib/spring/application_manager.rb', line 18 def synchronize @mutex.lock yield ensure @mutex.unlock end |