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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user