vonhoff / Serilog.Sinks.RichTextBox.WinForms.Colored

A Serilog sink that writes log events to a WinForms RichTextBox control with colors and theme support
Apache License 2.0
17 stars 9 forks source link

The message processor thread doesn't get disposed. #1

Closed vonhoff closed 2 years ago

vonhoff commented 2 years ago

Describe the bug The message processor thread doesn't get disposed after calling Log.CloseAndFlush().

To Reproduce Steps to reproduce the behavior:

  1. Create a new logger with the RichTextBox sink.
  2. Call Log.CloseAndFlush().
  3. The processor thread doesn't get disposed.

Expected behavior The processor thread gets disposed after calling Log.CloseAndFlush().