Browse Source

prevent unwanted references (#18564)

aardgoose 4 years ago
parent
commit
0af5454b19
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/core/EventDispatcher.js

+ 2 - 0
src/core/EventDispatcher.js

@@ -77,6 +77,8 @@ Object.assign( EventDispatcher.prototype, {
 
 
 			}
 			}
 
 
+			event.target = null;
+
 		}
 		}
 
 
 	}
 	}