lib/rex/services/local_relay.rb in librex-0.0.5 vs lib/rex/services/local_relay.rb in librex-0.0.6

- old
+ new

@@ -139,10 +139,10 @@ # # Starts the thread that monitors the local relays. # def start if (!self.relay_thread) - self.relay_thread = Thread.new { + self.relay_thread = Rex::ThreadFactory.spawn("LocalRelay", false) { begin monitor_relays rescue ::Exception elog("Error in #{self} monitor_relays: #{$!}", 'rex') end