Merge pull request #5165 from Alexays/fix/crash-batch3

fix: mpris resume SIGSEGV (#5124), wireplumber async UAF (#3974), stale reload batch state (#4129)
This commit is contained in:
Alexis Rouillard
2026-07-04 13:12:17 +02:00
committed by GitHub
4 changed files with 39 additions and 1 deletions
+3
View File
@@ -36,6 +36,9 @@ class Wireplumber : public ALabel {
std::vector<std::string> getWPIcon();
static std::list<waybar::modules::Wireplumber*> modules;
// Returns true while `self` is still a live module. Async load/activation callbacks use this to
// avoid dereferencing a `self` that was destroyed before the callback fired (see #3974).
static bool isModuleAlive(waybar::modules::Wireplumber* self);
uint32_t resolvePhysicalSink(uint32_t start_id);
uint32_t findPlaybackNodeId(const gchar* description);