mirror of
https://github.com/Mahdi-zarei/nekoray.git
synced 2025-12-18 20:50:09 +08:00
fix clearing connection list
This commit is contained in:
parent
6633ade093
commit
a11a47113e
2
core/.gitignore
vendored
2
core/.gitignore
vendored
@ -4,3 +4,5 @@
|
||||
*.exe
|
||||
*.dat
|
||||
*.db
|
||||
server/gen/*.pb.go
|
||||
server/gen/*.pb.*.go
|
||||
|
||||
2
core/protorpc/go.sum
Normal file
2
core/protorpc/go.sum
Normal 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=
|
||||
@ -40,7 +40,7 @@ namespace Stats
|
||||
{
|
||||
bool ok;
|
||||
libcore::ListConnectionsResp resp = API::defaultClient->ListConnections(&ok);
|
||||
if (!ok || resp.connections.empty())
|
||||
if (!ok)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user