.bundle/ruby/2.0.0/gems/celluloid-0.15.2/lib/celluloid/actor.rb
def run_finalizer
      finalizer = @subject.class.finalizer
      return unless finalizer && @subject.respond_to?(finalizer, true)

      task(:finalizer, :method_name => finalizer, :dangerous_suspend => true) do
        begin
          @subject.__send__(finalizer)
        rescue => ex
          Logger.crash("#{@subject.class}#finalize crashed!", ex)
        end
      end
    end
# Run the user-defined finalizer, if one is set
Run the user-defined finalizer, if one is set
Run the user - defined finalizer if one is set
def run_finalizer
      finalizer = @subject.class.finalizer
      return unless finalizer && @subject.respond_to?(finalizer, true)
      task(:finalizer, :method_name => finalizer, :dangerous_suspend => true) do
        begin
          @subject.__send__(finalizer)
        rescue => ex
          Logger.crash("#{@subject.class}#finalize crashed!", ex)
        end
      end
    end
def run_finalizer finalizer = @subject . class . finalizer return unless finalizer && @subject . respond_to? ( finalizer , true ) task ( :finalizer , :method_name => finalizer , :dangerous_suspend => true ) do begin @subject . __send__ ( finalizer ) rescue => ex Logger . crash ( "#{@subject.class}#finalize crashed!" , ex ) end end end
Run the user-defined finalizer, if one is set
Run the user - defined finalizer if one is set