diff --git a/src/event/Thread.hxx b/src/event/Thread.hxx index f65ef9261..3484bd44e 100644 --- a/src/event/Thread.hxx +++ b/src/event/Thread.hxx @@ -36,6 +36,10 @@ class EventThread final { Thread thread; public: + ~EventThread() { + Stop(); + } + EventLoop &GetEventLoop() { return event_loop; }