We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6710eec commit 8c65575Copy full SHA for 8c65575
1 file changed
msgq/ipc_capi.cc
@@ -378,10 +378,6 @@ void* msgq_socket_event_handle_recv_called(void* h) {
378
return NULL;
379
#else
380
Event e = ((SocketEventHandle*)h)->recv_called();
381
- // recv_called returns Event wrapping an existing FD. It is not owned by the Event.
382
- // We create a CapiEvent wrapping it. Do we own it?
383
- // SocketEventHandle owns the FDs (via EventState in shm).
384
- // So we should NOT close it.
385
return new CapiEvent(e.fd(), false);
386
#endif
387
} catch (const std::exception& e) {
0 commit comments