projects
/
platform
/
upstream
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2cc95df
)
install auto unload time event only when we have at least one auto unload module
author
Lennart Poettering
<lennart@poettering.net>
Wed, 11 Jun 2008 16:55:26 +0000
(16:55 +0000)
committer
Lennart Poettering
<lennart@poettering.net>
Wed, 11 Jun 2008 16:55:26 +0000
(16:55 +0000)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2509
fefdeb5f
-60dc-0310-8127-
8f9354f1896f
src/pulsecore/module.c
patch
|
blob
|
history
diff --git
a/src/pulsecore/module.c
b/src/pulsecore/module.c
index 8e5bd2d13173f70309fb3218a719aaaa2aba218c..cee8061bbce6b38fb8ee74e00b75cf1daa14a9dc 100644
(file)
--- a/
src/pulsecore/module.c
+++ b/
src/pulsecore/module.c
@@
-120,7
+120,7
@@
pa_module* pa_module_load(pa_core *c, const char *name, const char *argument) {
if (!c->modules)
c->modules = pa_idxset_new(NULL, NULL);
- if (!c->module_auto_unload_event) {
+ if (
m->auto_unload &&
!c->module_auto_unload_event) {
struct timeval ntv;
pa_gettimeofday(&ntv);
pa_timeval_add(&ntv, UNLOAD_POLL_TIME*1000000);