Skip to content

Commit 5929b46

Browse files
committed
Merge pull request #207 from rkday/promise_deref
Add set_deref_options call to Promise constructor
2 parents 6af1316 + 9d588f3 commit 5929b46

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/concurrent/promise.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ def initialize(opts = {}, &block)
204204
@children = []
205205

206206
init_obligation
207+
set_deref_options(opts)
207208
end
208209

209210
# @return [Promise]

0 commit comments

Comments
 (0)