Don't leave dangling client pointers in the process list
Former-commit-id: 5d16f519508fcb96a8803fcefa69d6c75fa174ac
This commit is contained in:
parent
4f690c1f81
commit
eb1bf61a58
@ -1527,6 +1527,8 @@ void unlinkClient(client *c) {
|
||||
c->fPendingAsyncWrite = FALSE;
|
||||
}
|
||||
|
||||
serverTL->vecclientsProcess.erase(std::remove(serverTL->vecclientsProcess.begin(), serverTL->vecclientsProcess.end(), c), serverTL->vecclientsProcess.end());
|
||||
|
||||
/* Clear the tracking status. */
|
||||
if (c->flags & CLIENT_TRACKING) disableTracking(c);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user