Merge branch
This commit is contained in:
@@ -21,7 +21,7 @@ public class DiffusionAtomique implements AlgoDiffusion {
|
||||
public void execute() {
|
||||
capteur.lock();
|
||||
for (ObserverDeCapteurAsync canal : capteur.observers) {
|
||||
canal.update(this.capteur);
|
||||
canal.update();
|
||||
}
|
||||
capteur.unlock(); //TODO
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user