Re: VersionAttribute equals false problem

2004-01-29 Thread Edward A Lee
Interesting... Your fix looks right to me... And in fact this is a serious memory leak, so the fix is much appreciated. I believe that the reason _tupleList is null is that the instance of VersionAttribute is added to the workspace before setContainer() is called to set the container. Then when se

VersionAttribute equals false problem

2004-01-29 Thread Richard van der Laan
Hi there, I discovered a problem related to the VersionAttribute class while integrating the ptolemy kernel in one of our own applications. Our application creates a default workspace that is reused over the life-cycle of many executed models. Models are manually parsed from a MoML file and added