security-context: close client fds after disconnect

This commit is contained in:
Vaxry 2024-10-06 15:08:26 +01:00
parent da86aac0f5
commit 4e41cda27e
2 changed files with 7 additions and 5 deletions

View file

@ -47,9 +47,10 @@ class CSecurityContextSandboxedClient {
wl_listener destroyListener;
private:
CSecurityContextSandboxedClient(int clientFD);
CSecurityContextSandboxedClient(int clientFD_);
wl_client* client = nullptr;
wl_client* client = nullptr;
int clientFD = -1;
friend class CSecurityContextProtocol;
friend class CSecurityContext;