Pārlūkot izejas kodu

prevent unwanted references (#18564)

aardgoose 4 gadi atpakaļ
vecāks
revīzija
0af5454b19
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      src/core/EventDispatcher.js

+ 2 - 0
src/core/EventDispatcher.js

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