mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-07 13:30:03 -05:00
fix bug in handling of defer events
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1595 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
a69f4705c5
commit
23ba125725
1 changed files with 1 additions and 0 deletions
|
|
@ -574,6 +574,7 @@ static void cleanup_defer_events(pa_mainloop *m, int force) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!e->dead && e->enabled) {
|
if (!e->dead && e->enabled) {
|
||||||
|
e->enabled = 0;
|
||||||
assert(m->n_enabled_defer_events > 0);
|
assert(m->n_enabled_defer_events > 0);
|
||||||
m->n_enabled_defer_events--;
|
m->n_enabled_defer_events--;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue