Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/concurrent-ruby/concurrent/tvar.rb
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,10 @@ def atomically

begin
result = yield
rescue Transaction::AbortError => e
rescue Transaction::AbortError
transaction.abort
result = Transaction::ABORTED
rescue Transaction::LeaveError => e
rescue Transaction::LeaveError
transaction.abort
break result
rescue Exception
Expand Down