diff --git a/lib/elastic_apm/transport/connection/proxy_pipe.rb b/lib/elastic_apm/transport/connection/proxy_pipe.rb index d4a504238..77781fd25 100644 --- a/lib/elastic_apm/transport/connection/proxy_pipe.rb +++ b/lib/elastic_apm/transport/connection/proxy_pipe.rb @@ -48,7 +48,7 @@ def initialize(io, compress: true) return unless compress enable_compression! - ObjectSpace.define_finalizer(self, self.class.finalize(@io)) + #ObjectSpace.define_finalizer(self, self.class.finalize(@io)) end def self.finalize(io)