all: clear more reference cycles at shutdown
This commit is contained in:
parent
4d33dbf32f
commit
3473b89fb9
7 changed files with 76 additions and 9 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue