Skip to content

Commit fa12be2

Browse files
committed
Persist fabrics on fabric removal and fabric label update
1 parent 1a40a62 commit fa12be2

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

rs-matter/src/fabric.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -586,6 +586,8 @@ impl FabricMgr {
586586
.push_str(label)
587587
.map_err(|_| ErrorCode::NoSpace)?;
588588

589+
self.changed = true;
590+
589591
Ok(())
590592
}
591593

@@ -599,6 +601,8 @@ impl FabricMgr {
599601

600602
self.fabrics.retain(|fabric| fabric.fab_idx != fab_idx);
601603

604+
self.changed = true;
605+
602606
Ok(())
603607
}
604608

0 commit comments

Comments
 (0)