Skip to content

Commit 8c65575

Browse files
committed
Final(?) cleanup
1 parent 6710eec commit 8c65575

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

msgq/ipc_capi.cc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -378,10 +378,6 @@ void* msgq_socket_event_handle_recv_called(void* h) {
378378
return NULL;
379379
#else
380380
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.
385381
return new CapiEvent(e.fd(), false);
386382
#endif
387383
} catch (const std::exception& e) {

0 commit comments

Comments
 (0)