2
0
mirror of https://github.com/esiur/esiur-dart.git synced 2026-04-03 17:58:21 +00:00
This commit is contained in:
2023-07-02 12:40:12 +03:00
parent 9cb6e3e5b8
commit f3e75f3796
3 changed files with 8 additions and 1 deletions

View File

@@ -45,6 +45,10 @@ class Instance extends IEventHandler {
int _id;
bool _isDestroyed;
bool get isDestroyed => _isDestroyed;
/// <summary>
/// Instance attributes are custom properties associated with the instance, a place to store information by IStore.
/// </summary>
@@ -619,6 +623,7 @@ class Instance extends IEventHandler {
}
void resource_OnDestroy(sender) {
_isDestroyed = true;
emitArgs("resourceDestroyed", [sender]);
}
}