aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/music-player-bridge.vala3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/music-player-bridge.vala b/src/music-player-bridge.vala
index 3929916..26bf2c2 100644
--- a/src/music-player-bridge.vala
+++ b/src/music-player-bridge.vala
@@ -63,6 +63,9 @@ public class MusicPlayerBridge : GLib.Object
calculate_menu_position(),
PlayerController.state.OFFLINE);
ctrl.app_info = app_info;
+ if(ctrl.app_info == null)
+ warning("for some reason the app info is null");
+
this.registered_clients.set(truncate_player_name(app_info.get_name()), ctrl);
}
}