kuma icon indicating copy to clipboard operation
kuma copied to clipboard

Protect against modyfing resources from resource cache

Open jakubdyszkiewicz opened this issue 5 months ago • 2 comments

Description

We hit a bug (luckily before a release) that we modify resource meta from ResourceManager and the other place that was reading this went into undefined state.

We could introduce a wrapper over Resource that would panic on calling Set methods just to make sure we don't allow modyfing resources after retrieving them from cached ResourceManager

jakubdyszkiewicz avatar Jan 25 '24 11:01 jakubdyszkiewicz