Skip to content

Commit c2b40d2

Browse files
Remove unnecessary timeout.
1 parent 79ca3da commit c2b40d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/async/container/threaded.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ def to_s
187187
# Invoke {#terminate!} and then {#wait} for the child thread to exit.
188188
def close
189189
self.terminate!
190-
self.wait(timeout: 10.0) # Use a shorter timeout for close operations
190+
self.wait
191191
ensure
192192
super
193193
end

0 commit comments

Comments
 (0)