mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
cc_frm: add global mutex for cc forms
This commit is contained in:
@@ -436,6 +436,8 @@ void CComponentsForm::paintCCItems()
|
|||||||
|
|
||||||
try{
|
try{
|
||||||
for(size_t i=0; i<v_cc_items.size(); i++){
|
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))
|
if (!v_cc_items.at(i))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user