Closed sentry-io[bot] closed 2 weeks ago
Sentry Issue: METAMASK-MOBILE-2864
Sentry Issue: METAMASK-MOBILE-2F6M
Sentry Issue: METAMASK-MOBILE-2864
node_modules/@metamask/base-controller/dist/ControllerMessenger.js
in unsubscribe
at line 174:28
* @template EventType - A type union of Event type strings.
*/
unsubscribe(eventType, handler) {
const subscribers = __classPrivateFieldGet(this, _ControllerMessenger_events, "f").get(eventType);
if (!subscribers || !subscribers.has(handler)) {
throw new Error(`Subscription not found for event: ${eventType}`);
}
const selector = subscribers.get(handler);
if (selector) {
__classPrivateFieldGet(this, _ControllerMessenger_eventPayloadCache, "f").delete(handler);
}
Sentry Issue: METAMASK-MOBILE-2G6K
This issue has been automatically marked as stale because it has not had recent activity in the last 90 days. It will be closed in 7 days. Thank you for your contributions.
This issue was closed because there has been no follow activity in 7 days. If you feel this was closed in error please provide evidence on the current production app in a new issue or comment in the existing issue to a maintainer. Thank you for your contributions.
Sentry Issue: METAMASK-MOBILE-292K
Comment: Should we remove this error if the subscription is already removed?