@volcengine/veplayer-plugin 2.6.1-rc.0 → 2.6.1-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6137,8 +6137,9 @@ function removeHooks(hookName, handler) {
6137
6137
  if (index2 !== -1) {
6138
6138
  hooks.splice(index2, 1);
6139
6139
  }
6140
+ } else if (__hooks[hookName]) {
6141
+ __hooks[hookName] = null;
6140
6142
  }
6141
- delete __hooks[hookName];
6142
6143
  }
6143
6144
  function hooksDescriptor(instance) {
6144
6145
  var presetHooks = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];