Memory leaks in multidomain due to cyclic shared_ptr dependencies
see !1179 (merged) which should fix this for the embedded models. other model might be concerned as well.
The coupling manager had a shared_ptr to the problem and the problem to the coupling manager. This cyclic dependency leads to neither the problem nor the coupling manager being destructed -> huge memory leaks. Might be worth to check other classes for this kind of dependency too.
Edited by Timo Koch