Skip to content

Resolve "Memory Leakage: if setPlots get called multiple times, TreeModels get allocated and the pointer gets overwritten"

Alexander Semke requested to merge work/init-aspect-model-in-base into master

Description

Moved the initialization of the aspect model in the docks to the base class.

This solve the problem with the memory leak when multiple of objects of the same type are selected and set in the dock widget creating every time a new model that is never deleted.

Conformity

Closes #776 (closed)

Edited by Alexander Semke

Merge request reports

Loading