cc_frm: add global mutex for cc forms

This commit is contained in:
2020-01-05 21:17:59 +01:00
parent 890d04b0ca
commit 8df2710be7

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;