From f786c6923cdc995462df67b6f3144f1ae07a5013 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 17 Dec 2008 21:20:51 +0100 Subject: actually unload the modules from a new stack frame --- src/modules/module-hal-detect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/modules/module-hal-detect.c b/src/modules/module-hal-detect.c index c76a366c..8c1ab329 100644 --- a/src/modules/module-hal-detect.c +++ b/src/modules/module-hal-detect.c @@ -511,7 +511,7 @@ static void device_removed_cb(LibHalContext* context, const char *udi) { pa_log_debug("Device removed: %s", udi); if ((d = pa_hashmap_remove(u->devices, udi))) { - pa_module_unload_by_index(u->core, d->index, TRUE); + pa_module_unload_request_by_index(u->core, d->index, TRUE); hal_device_free(d); } } -- cgit