message: feat: Remove window unload event (getsentry/sentry-replay#166)
  This was not working, removing...
diff: @@ -341,7 +341,6 @@ export class SentryReplay implements Integration {
  document.addEventListener('visibilitychange', this.handleVisibilityChange);
  window.addEventListener('blur', this.handleWindowBlur);
  window.addEventListener('focus', this.handleWindowFocus);
  - window.addEventListener('beforeunload', this.handleWindowUnload);
  // Listeners from core SDK //
  const scope = getCurrentHub().getScope();
  @@ -393,7 +392,6 @@ export class SentryReplay implements Integration {
  window.removeEventListener('blur', this.handleWindowBlur);
  window.removeEventListener('focus', this.handleWindowFocus);
  - window.removeEventListener('beforeunload', this.handleWindowUnload);
  if (this.performanceObserver) {
  this.performanceObserver.disconnect();
  @@ -527,18 +525,6 @@ export class SentryReplay implements Integration {
  this.doChangeToForegroundTasks(breadcrumb);
  };
  - /**
  - * Handle when page is closed
  - */
  - handleWindowUnload = () => {
  - this.createCustomBreadcrumb(
  - createBreadcrumb({
  - category: 'ui.exit',
  - })
  - );
  - this.destroy();
  - };
  -
  /**
  * Handler for Sentry Core SDK events.
  *
  