mirror of
https://github.com/stefanocasazza/ULib.git
synced 2025-09-28 19:05:55 +08:00
fix
This commit is contained in:
parent
0bd1d988f4
commit
1737869ae9
|
@ -1022,11 +1022,9 @@ void UNotifier::callForAllEntryDynamic(bPFpv function)
|
||||||
|
|
||||||
U_INTERNAL_DUMP("fd = %d op_mask = %B", item->fd, item->op_mask)
|
U_INTERNAL_DUMP("fd = %d op_mask = %B", item->fd, item->op_mask)
|
||||||
|
|
||||||
if (item->fd == -1 ||
|
U_INTERNAL_ASSERT_MAJOR(item->fd, 0)
|
||||||
function(item))
|
|
||||||
{
|
if (function(item)) handlerDelete(item);
|
||||||
handlerDelete(item);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
while (hi_map_fd->next());
|
while (hi_map_fd->next());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user