Skip to content

Commit

Permalink
Remove finished and we don't need to explicitely set the @sqs to nil,…
Browse files Browse the repository at this point in the history
… the gc will take care of it.

Fixes #8
  • Loading branch information
ph authored and jordansissel committed Sep 21, 2015
1 parent e46ced4 commit 6228817
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/logstash/outputs/sqs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,5 @@ def flush(events, teardown=false)
public
def teardown
buffer_flush(:final => true)
@sqs_queue = nil
finished
end # def teardown
end

0 comments on commit 6228817

Please sign in to comment.