Skip to content

Commit e2f8866

Browse files
committed
fix(EventManager): remove unnecessary dereference
1 parent 6c43e41 commit e2f8866

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/event-manager.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@ class DelegationEntryHandler {
130130
dispose() {
131131
this.entry.decrement();
132132
this.lookup[this.targetEvent] = null;
133-
this.entry = this.lookup = this.targetEvent = null;
134133
}
135134
}
136135

@@ -151,7 +150,6 @@ class EventHandler {
151150

152151
dispose() {
153152
this.target.removeEventListener(this.targetEvent, this.callback);
154-
this.target = this.targetEvent = this.callback = null;
155153
}
156154
}
157155

0 commit comments

Comments
 (0)