Clear disconnected clients from the bottleneck stats api

This commit is contained in:
Lauri Kasanen
2021-08-02 12:45:51 +03:00
parent fae8aa9051
commit c1ed769780
3 changed files with 13 additions and 1 deletions

View File

@@ -133,8 +133,10 @@ VNCSConnectionST::~VNCSConnectionST()
delete [] fenceData;
if (server->apimessager)
if (server->apimessager) {
server->apimessager->mainUpdateUserInfo(checkOwnerConn(), server->clients.size());
server->apimessager->mainClearBottleneckStats(peerEndpoint.buf);
}
}