Skip to content

Commit

Permalink
move send out of the for loop
Browse files Browse the repository at this point in the history
  • Loading branch information
superfloh247 committed Jul 16, 2024
1 parent 44f8a61 commit 868de8f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions TeslaLogger/NearbySuCService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -166,12 +166,12 @@ private void Work()
Tools.DebugLog("NearbySuCService.Work: Exception parsing " + result);
}
}
if (send.Count > 0)
{
ShareSuc(send, false, out _, out _);
}
send.Clear();
}
if (send.Count > 0)
{
ShareSuc(send, false, out _, out _);
}
send.Clear();
}
catch (Exception ex)
{
Expand Down

0 comments on commit 868de8f

Please sign in to comment.