From 940254b4fd6e3e41f50872c1bcdd8604836bf511 Mon Sep 17 00:00:00 2001 From: Erica Z Date: Fri, 1 Nov 2024 13:53:42 +0100 Subject: [PATCH] drop(window) --- src/application.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/application.rs b/src/application.rs index 98bcb6f..f8fa5e0 100644 --- a/src/application.rs +++ b/src/application.rs @@ -43,6 +43,8 @@ mod imp { .await .expect("could not serve mpris player"); + drop(window); // don't keep this alive + // always set up handlers before requesting service name conn.request_name("org.mpris.MediaPlayer2.audrey") .await