Skip to content

Commit

Permalink
fix to close sockets in close, after stopping the event loop
Browse files Browse the repository at this point in the history
  • Loading branch information
tagomoris committed Nov 9, 2016
1 parent f873e57 commit 8b2e941
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fluent/plugin/in_forward.rb
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def start
event_loop_attach(@hbr)
end

def stop
def close
@lsock.close if @lsock
@usock.close if @usock
super
Expand Down

0 comments on commit 8b2e941

Please sign in to comment.