Skip to content

Commit cd3c1d6

Browse files
committed
remove async
1 parent 14b4b5d commit cd3c1d6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/replay/src/integration.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ Sentry.init({ replaysOnErrorSampleRate: ${errorSampleRate} })`,
207207
* Currently, this needs to be manually called (e.g. for tests). Sentry SDK
208208
* does not support a teardown
209209
*/
210-
public async stop(): Promise<void> {
210+
public stop(): Promise<void> | void {
211211
if (!this._replay) {
212212
return;
213213
}

packages/replay/src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ export interface ReplayContainer {
437437
isPaused(): boolean;
438438
getContext(): InternalEventContext;
439439
start(): void;
440-
stop(reason?: string): void;
440+
stop(reason?: string): Promise<void>;
441441
pause(): void;
442442
resume(): void;
443443
startRecording(): void;

0 commit comments

Comments
 (0)