mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2026-02-07 08:23:42 +00:00
Was getting an unhandled `invalid_argument` [exception](https://en.cppreference.com/w/cpp/thread/thread/join) during shutdown on my linux machine. This removes the need for a `StopBackendThread` function entirely since `jthread` [automatically handles both checking if the thread is joinable and stopping the token before attempting to join](https://en.cppreference.com/w/cpp/thread/jthread/~jthread) in the case that `StartBackendThread` was never called. |
||
|---|---|---|
| .. | ||
| backend.cpp | ||
| backend.h | ||
| filter.cpp | ||
| filter.h | ||
| formatter.h | ||
| log_entry.h | ||
| log.h | ||
| text_formatter.cpp | ||
| text_formatter.h | ||
| types.h | ||