MIxer/Chain: Fix race condition.
This commit is contained in:
parent
4d20ed0f7b
commit
47f15d9937
|
@ -86,7 +86,8 @@ extern char *instance_name;
|
||||||
Chain::Chain ( ) : Fl_Group( 0, 0, 100, 100, "")
|
Chain::Chain ( ) : Fl_Group( 0, 0, 100, 100, "")
|
||||||
|
|
||||||
{
|
{
|
||||||
_deleting = false;
|
/* not really deleting here, but reusing this variable */
|
||||||
|
_deleting = true;
|
||||||
|
|
||||||
int X = 0;
|
int X = 0;
|
||||||
int Y = 0;
|
int Y = 0;
|
||||||
|
@ -161,6 +162,8 @@ Chain::Chain ( ) : Fl_Group( 0, 0, 100, 100, "")
|
||||||
end();
|
end();
|
||||||
|
|
||||||
log_create();
|
log_create();
|
||||||
|
|
||||||
|
_deleting = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
Chain::~Chain ( )
|
Chain::~Chain ( )
|
||||||
|
|
Loading…
Reference in New Issue