[rygel/wip/gapplication] rygel: Also handle HUP (as quit for now)



commit 287c3fce6d5ded9335139b65d12a1e496ccec868
Author: Jens Georg <mail jensge org>
Date:   Mon Sep 13 00:23:53 2021 +0200

    rygel: Also handle HUP (as quit for now)

 src/rygel/application.vala | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/rygel/application.vala b/src/rygel/application.vala
index f026a1b6..d5265a8f 100644
--- a/src/rygel/application.vala
+++ b/src/rygel/application.vala
@@ -18,8 +18,10 @@ public class Rygel.Application : GLib.Application {
                flags : ApplicationFlags.HANDLES_COMMAND_LINE);
 
         this.add_main_option_entries (CmdlineConfig.OPTIONS);
+
         Unix.signal_add (ProcessSignal.INT, () => { this.release (); return false; });
         Unix.signal_add (ProcessSignal.TERM, () => { this.release (); return false; });
+        Unix.signal_add (ProcessSignal.HUP, () => { this.release (); return false; });
     }
 
 


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