[rygel] rygel: When ignoring a context, disable it



commit cf0f90f0a46d454ecd2e98577fac275272ef6abe
Author: Jens Georg <mail jensge org>
Date:   Tue Jun 14 21:23:39 2016 +0200

    rygel: When ignoring a context, disable it
    
    Otherwise, it will keep listening on it
    
    Signed-off-by: Jens Georg <mail jensge org>

 src/rygel/rygel-main.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/rygel/rygel-main.vala b/src/rygel/rygel-main.vala
index 760232b..4b9a784 100644
--- a/src/rygel/rygel-main.vala
+++ b/src/rygel/rygel-main.vala
@@ -180,6 +180,7 @@ internal class Rygel.Main : Object {
             debug ("Ignoring network %s (%s) context.",
                    context.network,
                    context.interface);
+            context.active = false;
         }
     }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]