[pulseaudio-commits] r2509 - /trunk/src/pulsecore/module.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Wed Jun 11 09:55:29 PDT 2008


Author: lennart
Date: Wed Jun 11 18:55:26 2008
New Revision: 2509

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=2509&root=pulseaudio&view=rev
Log:
install auto unload time event only when we have at least one auto unload module

Modified:
    trunk/src/pulsecore/module.c

Modified: trunk/src/pulsecore/module.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/pulsecore/module.c?rev=2509&root=pulseaudio&r1=2508&r2=2509&view=diff
==============================================================================
--- trunk/src/pulsecore/module.c (original)
+++ trunk/src/pulsecore/module.c Wed Jun 11 18:55:26 2008
@@ -120,7 +120,7 @@
     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);




More information about the pulseaudio-commits mailing list