Method: Datadog::Core::Workers::Async::Thread#terminate
- Defined in:
- lib/datadog/core/workers/async.rb
#terminate ⇒ Object
44 45 46 47 48 49 50 51 |
# File 'lib/datadog/core/workers/async.rb', line 44 def terminate return false unless running? @run_async = false Datadog.logger.debug { "Forcibly terminating worker thread for: #{self}" } worker.terminate true end |