# File lib/fuse/rfusefs-fuse.rb, line 360
      def release(ctx,path,ffi)
        return wrap_context(ctx,__method__,path,ffi) if ctx


        fh = ffi.fh
        if fh && fh.raw
          if (FuseFS::RFUSEFS_COMPATIBILITY)
            @root.raw_close(path,fh.raw)
          else
            @root.raw_close(path)
          end
          # if was handled as raw, then assume the file has now been created (or not)
          @created_files.delete(path)
        else
          # Probably just had flush called, but no harm calling it again
          flush(nil,path,ffi)
        end
      end