You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This ResourceToken is used for reference tracking for loaded resources, so I could release resource when it is no longer in use by consumers. Token should be disposed, otherwise resource reference count will leak.
It is struct, and the attribute is valid only on properties, classes and fields.
Please allow using this attribute on structs.
The text was updated successfully, but these errors were encountered:
As of version 2023.3.0, it is not allowed to annotate struct types with attribute MustDisposeResource.
My example would be this:
This ResourceToken is used for reference tracking for loaded resources, so I could release resource when it is no longer in use by consumers. Token should be disposed, otherwise resource reference count will leak.
It is struct, and the attribute is valid only on properties, classes and fields.
Please allow using this attribute on structs.
The text was updated successfully, but these errors were encountered: