Closed pixelzoom closed 5 years ago
I tried finding all missing comments, but it is possible that I may have missed a few. Assigning to @pixelzoom to review.
@SaurabhTotey I found a few more in the above commit. Feel free to close after reviewing.
It all seems good to me. Closing.
For this item in code review #143:
I inspected all occurrences of "link(". Sometimes there's a comment, e.g. in CurveFittingModel:
But many times there's no information about whether unlink is needed or not, or why. E.g. in CurveFittingModel:
There's also no description of the sim's general policy in implementation-notes.md, which would make such comments unnecessary when they conform to that policy. E.g. something like "all Properties exist for the lifetime of the sim and don't need to be unlinked unless otherwise noted in code comments".
I also inspected DerivedProperty instantiations, and there's no info about whether they need to be dispose and why.
Ditto for Emitter addListener.
So there's some work to be done here, documenting which registrations need or don't need to be unregistered.