<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Multiple pulseaudio crashes."
href="https://bugs.freedesktop.org/show_bug.cgi?id=90108#c10">Comment # 10</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Multiple pulseaudio crashes."
href="https://bugs.freedesktop.org/show_bug.cgi?id=90108">bug 90108</a>
from <span class="vcard"><a class="email" href="mailto:pierre-bugzilla@ossman.eu" title="Pierre Ossman <pierre-bugzilla@ossman.eu>"> <span class="fn">Pierre Ossman</span></a>
</span></b>
<pre>(In reply to Pierre Ossman from <a href="show_bug.cgi?id=90108#c9">comment #9</a>)
<span class="quote">>
> A quick fix is to clear out core->modules_pending_unload in pa_module_free()
> as well.
> </span >
Actually, it's probably better here where we destroy the defer event that's
supposed to do the unloading:
Index: src/pulsecore/module.c
===================================================================
--- src/pulsecore/module.c (revision 30726)
+++ src/pulsecore/module.c (working copy)
@@ -300,6 +300,7 @@
c->mainloop->defer_free(c->module_defer_unload_event);
c->module_defer_unload_event = NULL;
}
+ pa_hashmap_remove_all(c->modules_pending_unload);
}
static void defer_cb(pa_mainloop_api*api, pa_defer_event *e, void *userdata) {</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>