diff --git a/components/control/cpp/src/master.cpp b/components/control/cpp/src/master.cpp index 44361b2d557c31e72f9b824911aaefbde1d4cc80..a2913024aedd24c37b905b3eaa8f41239cfd4616 100644 --- a/components/control/cpp/src/master.cpp +++ b/components/control/cpp/src/master.cpp @@ -15,7 +15,7 @@ using std::function; using ftl::ctrl::LogEvent; Master::Master(Configurable *root, Universe *net) - : root_(root), net_(net) { + : root_(root), net_(net), active_(false) { // Init system state state_.paused = false; @@ -101,6 +101,8 @@ Master::Master(Configurable *root, Universe *net) } peerConfigurables_[peer].clear(); }); + + active_ = true; } Master::~Master() { @@ -242,4 +244,4 @@ void Master::stop() { } in_log_ = false; -}*/ \ No newline at end of file +}*/