Only detach consumers which are attached when we wither stuff away.
Pointed out by: pjd
This commit is contained in:
parent
98f388939d
commit
5be6baa85c
@ -317,7 +317,8 @@ g_wither_washer()
|
||||
result |= 1;
|
||||
continue;
|
||||
}
|
||||
g_detach(cp);
|
||||
if (cp->provider != NULL)
|
||||
g_detach(cp);
|
||||
g_destroy_consumer(cp);
|
||||
result |= 2;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user