From 62288170a4917a14f51f8dca3340ab2fe2461717 Mon Sep 17 00:00:00 2001 From: Pier-Hugues Pellerin Date: Tue, 1 Sep 2015 14:37:07 -0400 Subject: [PATCH] Remove finished and we don't need to explicitely set the @sqs to nil, the gc will take care of it. Fixes #8 --- lib/logstash/outputs/sqs.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/logstash/outputs/sqs.rb b/lib/logstash/outputs/sqs.rb index 868fbf9..90901fa 100644 --- a/lib/logstash/outputs/sqs.rb +++ b/lib/logstash/outputs/sqs.rb @@ -133,7 +133,5 @@ def flush(events, teardown=false) public def teardown buffer_flush(:final => true) - @sqs_queue = nil - finished end # def teardown end