mirror of https://github.com/djcb/mu.git
threads: don't assert on remove_child
Investigate this, seems to hit in the wild.
This commit is contained in:
parent
3e64fdfb0f
commit
7f70149c95
|
@ -71,7 +71,9 @@ struct Container {
|
|||
assert(children.empty());
|
||||
}
|
||||
void remove_child (Container& child) {
|
||||
assert(has_child(child));
|
||||
if (!has_child(child))
|
||||
g_warning("not my child");
|
||||
//assert(has_child(child));
|
||||
child.parent = {};
|
||||
children.erase(&child);
|
||||
assert(!has_child(child));
|
||||
|
|
Loading…
Reference in New Issue