lib/ffi/libfuse/adapter/ruby.rb in ffi-libfuse-0.4.0 vs lib/ffi/libfuse/adapter/ruby.rb in ffi-libfuse-0.4.1

- old
+ new

@@ -336,10 +336,10 @@ end end # Calls super if defined and storing result to protect from GC until {#destroy} def init(*args) - o = super(*args) if fuse_super_respond_to?(:init) + o = super if fuse_super_respond_to?(:init) handles << o if o end # Calls super if defined and allows init_obj to be GC'd def destroy(init_obj)