+ if (!_no_session && !_session.deletion_in_progress ()) {
+ _session.selection().remove_control_by_id (id());
+ DropReferences (); /* EMIT SIGNAL */
+ }
+}
+
+void
+AutomationControl::session_going_away ()
+{
+ SessionHandleRef::session_going_away ();