fix clearing connection list

This commit is contained in:
Nova 2025-08-02 16:59:47 +03:30
parent 6633ade093
commit a11a47113e
3 changed files with 5 additions and 1 deletions

2
core/.gitignore vendored
View File

@ -4,3 +4,5 @@
*.exe *.exe
*.dat *.dat
*.db *.db
server/gen/*.pb.go
server/gen/*.pb.*.go

2
core/protorpc/go.sum Normal file
View File

@ -0,0 +1,2 @@
github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps=
google.golang.org/protobuf v1.36.6/go.mod h1:jduwjTPXsFjZGTmRluh+L6NjiWu7pchiJ2/5YcXBHnY=

View File

@ -40,7 +40,7 @@ namespace Stats
{ {
bool ok; bool ok;
libcore::ListConnectionsResp resp = API::defaultClient->ListConnections(&ok); libcore::ListConnectionsResp resp = API::defaultClient->ListConnections(&ok);
if (!ok || resp.connections.empty()) if (!ok)
{ {
return; return;
} }