lib/appsignal/transaction.rb in appsignal-2.4.0.alpha.1 vs lib/appsignal/transaction.rb in appsignal-2.4.0

- old
+ new

@@ -52,16 +52,10 @@ def complete_current! current.complete rescue => e Appsignal.logger.error("Failed to complete transaction ##{current.transaction_id}. #{e.message}") ensure - clear_current_transaction! - end - - # Remove current transaction from current Thread. - # @api private - def clear_current_transaction! Thread.current[:appsignal_transaction] = nil end def garbage_collection_profiler @garbage_collection_profiler ||= Appsignal::GarbageCollectionProfiler.new @@ -316,10 +310,9 @@ yield if block_given? ensure finish_event(name, title, body, body_format) end - # @api private def to_h JSON.parse(@ext.to_json) end alias_method :to_hash, :to_h