Verified Commit dc09ce85 authored byBrowse files
Fix race in wp_drm_lease_v1.
Basically this is a well known issue in wayland for globals. If bind comes after destroyed, it will raise a invalid global error. The common practice is to delay the destroy of global. Similar technique is also applied to wl_output. CCBUG: 452435 (cherry picked from commit cdc9dcfb)