+ // Now remove all data for the last fd we got into out list.
+ // Above code made sure this always is right
+ fd_mappings[fd] = -1;
+ events[last_index].fd = 0;
+ events[last_index].events = 0;
+
+ SocketEngine::DelFdRef(eh);
+
+ ServerInstance->Logs->Log("SOCKET", LOG_DEBUG, "Remove file descriptor: %d (index: %d) "
+ "(Filled gap with: %d (index: %d))", fd, index, last_fd, last_index);