cc_frm: add global mutex for cc forms

Origin commit data
------------------
Branch: ni/coolstream
Commit: 03d61d7828
Author: Thilo Graf <dbt@novatux.de>
Date: 2020-01-05 (Sun, 05 Jan 2020)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
2020-01-05 22:22:22 +01:00
committed by vanhofen
parent 19da3111ce
commit 06950a388a

View File

@@ -436,6 +436,8 @@ void CComponentsForm::paintCCItems()
try{
for(size_t i=0; i<v_cc_items.size(); i++){
std::lock_guard<std::mutex> g(cc_frm_mutex);
if (!v_cc_items.at(i))
continue;