Skip to content

Commit

Permalink
fix(whisper): Stopping reconnection when the meeting has ended.
Browse files Browse the repository at this point in the history
  • Loading branch information
damencho committed Oct 31, 2024
1 parent b754996 commit 5e06bcb
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,8 @@ private void connectInternal()
long waitTime = 1000L;
boolean isConnected = false;
wsSession = null;
while (attempt < maxRetryAttempts && !isConnected)
// avoid executing if meeting ended (we are not running) while we were reconnecting
while (attempt < maxRetryAttempts && !(reconnecting && !isRunning()) && !isConnected)
{
try
{
Expand Down

0 comments on commit 5e06bcb

Please sign in to comment.