lib/dry/system/container.rb in dry-system-0.13.1 vs lib/dry/system/container.rb in dry-system-0.13.2
- old
+ new
@@ -658,9 +658,10 @@
new_hooks[event].concat(blocks)
new_hooks[event].concat(klass.hooks[event])
end
klass.instance_variable_set(:@hooks, new_hooks)
+ klass.instance_variable_set(:@__finalized__, false)
super
end
private