Follow master change r34dd4a and fix shutdown when --disallow-module-loading=1 is passed

This commit is contained in:
Colin Guthrie 2008-08-22 09:51:41 +01:00
parent 8715121755
commit 59eb64987f
2 changed files with 5 additions and 5 deletions

View file

@ -245,7 +245,7 @@ static int sink_process_msg(pa_msgobject *o, int code, void *data, int64_t offse
/* Quesiton: is this valid here: or should we do some sort of:
return pa_sink_process_msg(PA_MSGOBJECT(u->core), PA_CORE_MESSAGE_UNLOAD_MODULE, u->module, 0, NULL);
?? */
pa_module_unload_request(u->module);
pa_module_unload_request(u->module, TRUE);
}
return 0;
}