drop(window)
This commit is contained in:
parent
b3a5fc146a
commit
940254b4fd
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue