Verified Commit cdc9dcfb 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