TUDelft-CITG / OpenCLSim

Rule driven scheduling of cyclic activities for in-depth comparison of alternative operating strategies.
https://openclsim.readthedocs.io
MIT License
14 stars 17 forks source link

Fixed resources issue #86

Closed uijl closed 4 years ago

uijl commented 4 years ago

Fixed the error of issue #85, this should be working now. The problem was that all "used" resources were released without checking if these resources were actually still being held by the activity. In the case of issue #85 this was not the case, because the origin and the loader shared the same resource.

@Pietervanhalem please check if the change works as expected.

uijl commented 4 years ago

I'll create a new branch for a new release and merge both PR #87 and this one into the master as soon as @markvankoningsveld approves both changes.