diff --git a/anabatic/src/AutoSegment.cpp b/anabatic/src/AutoSegment.cpp index 17cf9e39..d34f274d 100644 --- a/anabatic/src/AutoSegment.cpp +++ b/anabatic/src/AutoSegment.cpp @@ -534,6 +534,11 @@ namespace Anabatic { _observers.notify( Destroy ); + AutoContact* contact = getAutoSource(); + if (contact) contact->cacheDetach( this ); + contact = getAutoTarget(); + if (contact) contact->cacheDetach( this ); + Session::unlink( this ); cdebug_tabw(145,-1); }