message: meta: Update comments for `setupOnce` (getsentry/sentry-replay#304)
diff: @@ -239,13 +239,14 @@ export class Replay implements Integration {
  }
  /**
  - * Because we create a transaction in `setupOnce`, we can potentially create a
  - * transaction before some native SDK integrations have run and applied their
  - * own global event processor. An example is:
  + * We previously used to create a transaction in `setupOnce` and it would
  + * potentially create a transaction before some native SDK integrations have run
  + * and applied their own global event processor. An example is:
  * https://github.com/getsentry/sentry-javascript/blob/b47ceafbdac7f8b99093ce6023726ad4687edc48/packages/browser/src/integrations/useragent.ts
  *
  - * So we call `this.setup` in next event loop as a workaround to wait for
  - * other global event processors to finish
  + * So we call `this.setup` in next event loop as a workaround to wait for other
  + * global event processors to finish. This is no longer needed, but keeping it
  + * here to avoid any future issues.
  */
  setupOnce() {
  if (!isBrowser) {
  @@ -258,7 +259,8 @@ export class Replay implements Integration {
  /**
  * Initializes the plugin.
  *
  - * Creates or loads a session, attaches listeners to varying events (DOM, PerformanceObserver, Recording, Sentry SDK, etc)
  + * Creates or loads a session, attaches listeners to varying events (DOM,
  + * PerformanceObserver, Recording, Sentry SDK, etc)
  */
  start() {
  if (!isBrowser) {
  @@ -318,7 +320,8 @@ export class Replay implements Integration {
  }
  /**
  - * Currently, this needs to be manually called (e.g. for tests). Sentry SDK does not support a teardown
  + * Currently, this needs to be manually called (e.g. for tests). Sentry SDK
  + * does not support a teardown
  */
  stop() {
  if (!isBrowser) {
  