Skip to content

Commit

Permalink
Improve signals
Browse files Browse the repository at this point in the history
  • Loading branch information
denis-migdal committed Feb 25, 2025
1 parent 664ea00 commit 6383614
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions V3/src/signals/SignalEvent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ export default class SignalEvent {

protected trigger() {

for(let callback of this.#callbacks)
callback(this);
for(let i = 0; i < this.#callbacks.length; ++i)
this.#callbacks[i](this);

return this;
}
Expand Down

0 comments on commit 6383614

Please sign in to comment.