Mixer: Fix crash on save after group removal.
This commit is contained in:
parent
cf03ea1562
commit
ab469f8a23
|
@ -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++ )
|
||||||
|
|
Loading…
Reference in New Issue