Sha256: 95dff3c992482e5b5acd67d90c757b9edc8d0fcdce1e31a0f7b012755c0cfb6e
Contents?: true
Size: 499 Bytes
Versions: 6
Compression:
Stored size: 499 Bytes
Contents
if defined?(::Celluloid) Appsignal.logger.info('Loading Celluloid integration') # Some versions of Celluloid have race conditions while exiting # that can result in a dead lock. We stop appsignal before shutting # down Celluloid so we're sure our thread does not aggravate this situation. ::Celluloid.class_eval do class << self alias shutdown_without_appsignal shutdown def shutdown Appsignal.stop shutdown_without_appsignal end end end end
Version data entries
6 entries across 6 versions & 1 rubygems