1
0
Fork 0
forked from wry/wry

all: clear more reference cycles at shutdown

This commit is contained in:
Julian Orth 2024-05-02 21:16:53 +02:00
parent 4d33dbf32f
commit 3473b89fb9
7 changed files with 76 additions and 9 deletions

View file

@ -323,12 +323,12 @@ impl ConnectorDisplayData {
linear_ids!(MetalLeaseIds, MetalLeaseId, u64);
pub struct MetalLeaseData {
lease: DrmLease,
_lessee: Rc<dyn BackendDrmLessee>,
connectors: Vec<Rc<MetalConnector>>,
crtcs: Vec<Rc<MetalCrtc>>,
planes: Vec<Rc<MetalPlane>>,
revoked: Cell<bool>,
pub lease: DrmLease,
pub _lessee: Rc<dyn BackendDrmLessee>,
pub connectors: Vec<Rc<MetalConnector>>,
pub crtcs: Vec<Rc<MetalCrtc>>,
pub planes: Vec<Rc<MetalPlane>>,
pub revoked: Cell<bool>,
}
impl MetalLeaseData {