kuma
kuma copied to clipboard
Protect against modyfing resources from resource cache
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