# File ruby/jbridge.rb, line 489
  def stop_thread()
        return unless defined?(@@object_table)
        @@main_thread = Thread.current
        Thread.stop
  end