fluent/fluent-logger-java

RawSocketSender.close() should call flush() internally

Closed this issue · 2 comments

I think it's possible that a RawSocketSender instance has buffered some records when close() is called. In this case, the buffered records is going to be lost. So I think RawSocketSender.close() should call flush() before releasing resources.

oza commented

@komamitsu please check #34. Thanks for your pointing.

oza commented

Closing this since #34 was resolved.