Mixer: Fix crash on save after group removal.

This commit is contained in:
Jonathan Moore Liles 2020-12-23 21:42:29 -08:00
parent cf03ea1562
commit ab469f8a23
1 changed files with 2 additions and 0 deletions

View File

@ -56,6 +56,8 @@ Group::~Group ( )
{ {
DMESSAGE( "Destroying group" ); DMESSAGE( "Destroying group" );
mixer->remove_group(this);
for ( std::list<Mixer_Strip*>::iterator i = strips.begin(); for ( std::list<Mixer_Strip*>::iterator i = strips.begin();
i != strips.end(); i != strips.end();
i++ ) i++ )