diff --git a/include/spinscale/componentThread.h b/include/spinscale/componentThread.h index 44da727..da45d71 100644 --- a/include/spinscale/componentThread.h +++ b/include/spinscale/componentThread.h @@ -34,7 +34,7 @@ class ComponentThread { protected: ComponentThread(ThreadId _id, std::string _name) - : id(_id), name(std::move(_name)), work(io_service) + : id(_id), name(std::move(_name)), work(io_service), keepLooping(true) {} public: