Skip to content

Commit 77893ed

Browse files
committed
properly implement post-initialize hook
1 parent 039300d commit 77893ed

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/jruby_art/app.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,10 @@ def library_loaded?(library_name)
9393
# Options are no longer relevant, define post_initialize method to use
9494
# custom options (see Sandi Metz POODR)
9595

96-
def initialize
96+
def initialize(options = {})
9797
super()
9898
$app = self
99+
post_initialize(options)
99100
proxy_java_fields
100101
mix_proxy_into_inner_classes
101102
java.lang.Thread.default_uncaught_exception_handler = proc do |_thread_, exception|

0 commit comments

Comments
 (0)