ソースを参照

prevent unwanted references (#18564)

aardgoose 5 年 前
コミット
0af5454b19
1 ファイル変更2 行追加0 行削除
  1. 2 0
      src/core/EventDispatcher.js

+ 2 - 0
src/core/EventDispatcher.js

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

粤ICP备19079148号