diff --git a/src/controller/controller_statistics.cpp b/src/controller/controller_statistics.cpp index b26ac066..07f00762 100644 --- a/src/controller/controller_statistics.cpp +++ b/src/controller/controller_statistics.cpp @@ -125,6 +125,7 @@ void Controller::killStatistics(char * data, size_t len, unsigned int id){ ///This function is ran whenever a stream becomes active. void Controller::streamStarted(std::string stream){ + tthread::lock_guard guard(Controller::configMutex); INFO_MSG("Stream %s became active", stream.c_str()); Controller::doAutoPush(stream); }