DescriptionFix a memory leak.
The toBoundingBoxes function creates a ModelList of models that are already
in another list. That list laters falls out of scope, but since the models
hold a reference to every list that contains them, the list is kept alive.
This branch introduces code that removes the models from the temporary list
after it has served its purpose.
https://code.launchpad.net/~benji/juju-gui/plug-memory-leak-3/+merge/164765
(do not edit description out of merge proposal)
Patch Set 1 #Patch Set 2 : Fix a memory leak. #
MessagesTotal messages: 4
|