MCPcopy Create free account
hub / github.com/getsentry/sentry-javascript / remove

Function remove

packages/feedback/src/core/integration.ts:401–410  ·  view source on GitHub ↗

* Removes the Feedback integration (including host, shadow DOM, and all widgets)

()

Source from the content-addressed store, hash-verified

399 * Removes the Feedback integration (including host, shadow DOM, and all widgets)
400 */
401 remove(): void {
402 if (_shadow) {
403 _shadow.parentElement?.remove();
404 _shadow = null;
405 _mainStyle = null;
406 }
407 // Remove any lingering subscriptions
408 _subscriptions.forEach(sub => sub());
409 _subscriptions = [];
410 },
411 };
412 }) satisfies IntegrationFn;
413

Callers

nothing calls this directly

Calls 2

removeMethod · 0.65
forEachMethod · 0.65

Tested by

no test coverage detected