You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting a negative value could come from only one place: in Connection.cs (line 247), to compute the correct bandwidth, one has to subtract the last value from the previous retrieved value. And if the previous was 0... well, you guess what we get.
I'll double-check the documentation as I might have wrongly implemented this.
Update: the code should prevent this, so I guess the negative value comes from the system counter itself?! InboundBandwidth = bandwidth.InboundBandwidth >= _lastInboundReadValue ? bandwidth.InboundBandwidth - _lastInboundReadValue : bandwidth.InboundBandwidth;
Don't ask me how to reproduce this consistently as I ahve no clue, but the error is annoying never the less
calls
FormatBytes(Math.Pow(10, -10),"Bps")
Don't ask me how, did not go into debugging that much. This throws an index out of bounds.
Band-aid which should probably be kept in place in some way.
The text was updated successfully, but these errors were encountered: