From c2d50c7ca326d67bc909a20ed21c467c92b0a0b5 Mon Sep 17 00:00:00 2001 From: erwanlr Date: Sat, 6 Apr 2019 19:53:23 +0100 Subject: [PATCH] Uses NS:Browser when aborting --- lib/cms_scanner/controllers.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cms_scanner/controllers.rb b/lib/cms_scanner/controllers.rb index ce484f01..11b4cf1b 100644 --- a/lib/cms_scanner/controllers.rb +++ b/lib/cms_scanner/controllers.rb @@ -48,7 +48,7 @@ def run each(&:run) end ensure - Browser.instance.hydra.abort + NS::Browser.instance.hydra.abort # Reverse is used here as the app/controllers/core#after_scan finishes the output # and must be the last one to be executed. It also guarantee that stats will be output