MPRIS: Prevent race condition with emitting signals before MPRIS starts
This CL adds a check to delay emitting signals until the service has started. This prevents a race condition where an MprisService user (e.g. MediaKeysListenerManager) would cause signals to be emitted before the service was ready. Bug: 952113 Change-Id: I2fecfbb5507e9ab25700263e1972bc80a606a3a8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1566625Reviewed-by:Thomas Anderson <thomasanderson@chromium.org> Commit-Queue: Tommy Steimel <steimel@chromium.org> Cr-Commit-Position: refs/heads/master@{#650549}
Showing
Please register or sign in to comment