Skip to content

Commit 974fb21

Browse files
committed
fix start
1 parent e39c6c9 commit 974fb21

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/sdk/src/messaging/sender.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ export class Sender {
3737
}
3838

3939
public start(): void {
40+
if (this.sendInterval) {
41+
return;
42+
}
43+
4044
this.sendInterval = setInterval(
4145
() => void this.backgroundSend(),
4246
DEFAULT_SEND_INTERVAL

0 commit comments

Comments
 (0)