Quakespotter.app/lib/ruby-processing/app.rb
# Cleanly close and shutter a running sketch.
Cleanly close and shutter a running sketch.
Cleanly close and shutter a running sketch .
def close
      $app = nil
      if Processing.online?
        JRUBY_APPLET.remove(self)
        self.destroy
      else
        control_panel.remove if respond_to?(:control_panel)
        @frame.remove(self) if @frame
        self.destroy
        @frame.dispose if @frame
      end
    end
def close $app = nil if Processing . online? JRUBY_APPLET . remove ( self ) self . destroy else control_panel . remove if respond_to? ( :control_panel ) @frame . remove ( self ) if @frame self . destroy @frame . dispose if @frame end end
Cleanly close and shutter a running sketch.
Cleanly close and shutter a running sketch .