Skip to content

Commit

Permalink
Remove not necessary clone in node update method
Browse files Browse the repository at this point in the history
  • Loading branch information
Stanislav Kuklin committed Feb 15, 2024
1 parent 12a2b51 commit db23a16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/registry/registry.js
Original file line number Diff line number Diff line change
Expand Up @@ -434,8 +434,8 @@ class Registry {
if (node.local)
serviceEvent.handler = this.broker.middlewares.wrapHandler(
"localEvent",
event.handler,
event
serviceEvent.handler,
serviceEvent
);

this.events.add(node, service, serviceEvent);
Expand Down

0 comments on commit db23a16

Please sign in to comment.