Skip to content

Commit 90117ff

Browse files
committed
TVar: missing declaration of leave_transaction as a module function.
1 parent 674065c commit 90117ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/concurrent/tvar.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def leave_transaction
152152
raise Transaction::LeaveError.new
153153
end
154154

155-
module_function :atomically, :abort_transaction
155+
module_function :atomically, :abort_transaction, :leave_transaction
156156

157157
private
158158

0 commit comments

Comments
 (0)