1
0
mirror of https://github.com/stefanocasazza/ULib.git synced 2025-09-28 19:05:55 +08:00
This commit is contained in:
stefanocasazza 2016-02-25 13:31:28 +01:00
parent 0bd1d988f4
commit 1737869ae9

View File

@ -1022,11 +1022,9 @@ void UNotifier::callForAllEntryDynamic(bPFpv function)
U_INTERNAL_DUMP("fd = %d op_mask = %B", item->fd, item->op_mask)
if (item->fd == -1 ||
function(item))
{
handlerDelete(item);
}
U_INTERNAL_ASSERT_MAJOR(item->fd, 0)
if (function(item)) handlerDelete(item);
}
while (hi_map_fd->next());
}