-
- /* mixer strip will be deleted all by itself
- when its route is deleted.
- */
-
- current_mixer_strip = 0;
+
+ /* get rid of any existing editor mixer strip */
+
+ if (current_mixer_strip) {
+ if (current_mixer_strip->get_parent() != 0) {
+ global_hpacker.remove (*current_mixer_strip);
+ }
+ delete current_mixer_strip;
+ current_mixer_strip = 0;
+ }