check if subclass of AsyncLogWriter called cleanup
Summary: This diff adds a check in `AsyncLogWriter`'s destructor that checks if its subclass called `cleanup()` to drain all the pending log messages in the queue during destructing. Reviewed By: yfeldblum Differential Revision: D15383734 fbshipit-source-id: deca9bdc84d5f514f2d47a250d31a68126d20aad
Showing
Please register or sign in to comment