Compare commits

...

1 Commits

Author SHA1 Message Date
Robo
8e8d3a4f3e fix: use-after-move of bus connection in xdg portal detection (#47008) 2025-05-09 18:32:08 +09:00

View File

@@ -86,8 +86,9 @@ void CheckPortalAvailabilityOnBusThread() {
<< (g_portal_available ? "yes" : "no");
flag->Set();
bus->ShutdownAndBlock();
bus.reset();
},
std::move(bus), flag));
bus, flag));
}
} // namespace