diff options
author | Lennart Poettering <lennart@poettering.net> | 2008-12-17 21:20:51 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-01-12 20:27:39 +0100 |
commit | f786c6923cdc995462df67b6f3144f1ae07a5013 (patch) | |
tree | 1ed4c1c16eba6ea8b1bfc48bf7fd8ac5aa461e2b /src/modules | |
parent | 92bb3b9d61b0e095f87105ed6c157c2b46793ffc (diff) |
actually unload the modules from a new stack frame
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/module-hal-detect.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } |