diff options
author | Mikhail Burakov <mburakov@mailbox.org> | 2023-10-17 10:44:43 +0200 |
---|---|---|
committer | Mikhail Burakov <mburakov@mailbox.org> | 2023-10-17 10:44:43 +0200 |
commit | cca29bc591e3309fcdc650c8b9463e254414de43 (patch) | |
tree | bd182e942efd733b11cb483454ec1ad2f58ad895 | |
parent | 9aa119e6765568103f5a41b401b305dff509e13a (diff) |
Remove capture context fd from the io muxer on client disconnectv5
-rw-r--r-- | main.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -96,6 +96,8 @@ static void MaybeDropClient(struct Contexts* contexts) { contexts->encode_context = NULL; } if (contexts->capture_context) { + IoMuxerForget(&contexts->io_muxer, + CaptureContextGetEventsFd(contexts->capture_context)); CaptureContextDestroy(contexts->capture_context); contexts->capture_context = NULL; } |