Fixed a race condition in push handling.
This commit is contained in:
parent
5c4e0d8c54
commit
9b2494f5d6
1 changed files with 1 additions and 0 deletions
|
@ -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<tthread::mutex> guard(Controller::configMutex);
|
||||
INFO_MSG("Stream %s became active", stream.c_str());
|
||||
Controller::doAutoPush(stream);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue