File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
packages/replay-internal/src/eventBuffer Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -104,14 +104,15 @@ export class EventBufferProxy implements EventBuffer {
104
104
105
105
/** Switch the used buffer to the compression worker. */
106
106
private async _switchToCompressionWorker ( ) : Promise < void > {
107
- const { events, hasCheckout } = this . _fallback ;
107
+ const { events, hasCheckout, waitForCheckout } = this . _fallback ;
108
108
109
109
const addEventPromises : Promise < void > [ ] = [ ] ;
110
110
for ( const event of events ) {
111
111
addEventPromises . push ( this . _compression . addEvent ( event ) ) ;
112
112
}
113
113
114
114
this . _compression . hasCheckout = hasCheckout ;
115
+ this . _compression . waitForCheckout = waitForCheckout ;
115
116
116
117
// We switch over to the new buffer immediately - any further events will be added
117
118
// after the previously buffered ones
You can’t perform that action at this time.
0 commit comments