]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: unset removed invokers
authorEvan You <yyx990803@gmail.com>
Mon, 3 Aug 2020 21:56:55 +0000 (17:56 -0400)
committerEvan You <yyx990803@gmail.com>
Mon, 3 Aug 2020 21:56:55 +0000 (17:56 -0400)
packages/runtime-dom/src/modules/events.ts

index b3ebbad23dd7f5ffa5d9b3158586a09a13faedae..4b1e1aa7f283f04a8fd74f82a19b02d1705253e8 100644 (file)
@@ -80,6 +80,7 @@ export function patchEvent(
     } else if (existingInvoker) {
       // remove
       removeEventListener(el, name, existingInvoker, options)
+      invokers[rawName] = undefined
     }
   }
 }