@sentry/replay 7.53.0 → 7.53.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.
- package/cjs/index.js +3 -1
- package/cjs/index.js.map +1 -1
- package/esm/index.js +3 -1
- package/esm/index.js.map +1 -1
- package/package.json +5 -5
- package/types/replay.d.ts.map +1 -1
package/esm/index.js
CHANGED
|
@@ -7057,7 +7057,9 @@ class ReplayContainer {
|
|
|
7057
7057
|
this._debouncedFlush.cancel();
|
|
7058
7058
|
// See comment above re: `_isEnabled`, we "force" a flush, ignoring the
|
|
7059
7059
|
// `_isEnabled` state of the plugin since it was disabled above.
|
|
7060
|
-
|
|
7060
|
+
if (this.recordingMode === 'session') {
|
|
7061
|
+
await this._flush({ force: true });
|
|
7062
|
+
}
|
|
7061
7063
|
|
|
7062
7064
|
// After flush, destroy event buffer
|
|
7063
7065
|
this.eventBuffer && this.eventBuffer.destroy();
|