2
0
mirror of https://github.com/esiur/esiur-js.git synced 2026-03-18 15:30:38 +00:00

wh.remove fix

This commit is contained in:
2026-02-18 22:32:25 +03:00
parent dd88085cc2
commit b3080f5b96
3 changed files with 7 additions and 3 deletions

View File

@@ -187,7 +187,10 @@ export class WH extends IEventHandler
for (var i = 0; i < this.resources.length; i++)
{
var o = this.resources.at(i);
var o = this.resources.at(i).deref();
if (o == null)
continue;
if (o.instance.store == resource)
{
if (toBeRemoved == null)