Correction d'un (gros) bug de verrouillage (multithreading) sur le Seq Macro
(plantage sur un lancement manuel sur une grande plage de circuits)
This commit is contained in:
parent
7958281c47
commit
8e1ad807b7
1 changed files with 2 additions and 1 deletions
|
|
@ -441,7 +441,8 @@ namespace DMX2
|
||||||
Circuit c = Conduite.Courante.GetCircuitByID(i);
|
Circuit c = Conduite.Courante.GetCircuitByID(i);
|
||||||
if(circuitsSeq.Contains(c))
|
if(circuitsSeq.Contains(c))
|
||||||
{
|
{
|
||||||
effetsEnCours[c] = new EffetMacro(temps,valeurscourantes[c],valeurCible);
|
lock(this)
|
||||||
|
effetsEnCours[c] = new EffetMacro(temps,valeurscourantes[c],valeurCible);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue