Break does not work from fork

0 votes
asked Oct 23, 2021 in Bug by boshka (3,940 points)

If there "break" is called from a fork it does not work well:
 


@startuml
start
while (data?) is (yes)

  :read data;

fork
  if(a)then(yes)
   break
  endif

fork again
  if(b)then(yes)
   break
  endif

end fork

endwhile (no)

stop
@enduml


Please see the diagram:

http://www.plantuml.com/plantuml/uml/VOx13i8W44JlynLpX5_GW_sLRLZinWe6CCQ_5uhdddQoyoPvIsrIslkvumZuRBOhNP0cDq-hT5-j7Y0lHILm55SWvl80QT69RvkcIP5SEpKQJS7Yv2XtiJJfzPJkXsDnfBz9oXxTBR-mzESGnGy0

PlantUML diagram

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.
...