lib/arachni/rpc/server.rb
# Shuts down the server after 2 seconds
Shuts down the server after 2 seconds
Shuts down the server after 2 seconds
def shutdown
        wait_for = 2
        @logger.info( 'System' ){ "Shutting down in #{wait_for} seconds..." }
        @reactor.delay( wait_for ) do
            @reactor.stop
        end
        true
    end
def shutdown wait_for = 2 @logger . info ( 'System' ) { "Shutting down in #{wait_for} seconds..." } @reactor . delay ( wait_for ) do @reactor . stop end true end
Shuts down the server after 2 seconds
Shuts down the server after 2 seconds
# Don't die before returning...