Hi developers I once thought that when I add my modules to the container do my dirty work and then delete the container they were gone, but they are not. It is easy to implement that they are gone (just call the SetOwner to the module container in the constructor) but is this the behavior that other people expect. I would think yes, but testBase crashes if you implement this behavior. What do you people think ? I want to do it because I usually test my output for memory leaks by printing out the instances of classes at the end of my programs and therefore I want all the data gone (easy ;) and I would also expect that to happen when I delete a module container. Cheers Peter :-) --------------------------------- )-: |Peter H L Christiansen aka PAN @ NBI | |EMAIL : pchristi@nbi.dk | |OFFICE : Tb1 @ NBI | |PHONE : 353 25269 | |SNAIL : Hans Tavsensgade 35, 4th | |PHONE : 35 349336 | :-D --------------------------------- \-:
This archive was generated by hypermail 2b29 : Mon Jan 29 2001 - 15:55:31 EST