Fix debug assert when closing internal DCB
Internal DCBs don't have file descriptors so the debug assertion needs to be altered.
This commit is contained in:
parent
d68d3072a8
commit
d546d77401
@ -3401,7 +3401,7 @@ int poll_remove_dcb(DCB *dcb)
|
||||
* Only positive fds can be removed from epoll set.
|
||||
*/
|
||||
dcbfd = dcb->fd;
|
||||
ss_dassert(dcbfd > 0);
|
||||
ss_dassert(dcbfd > 0 || dcb->dcb_role == DCB_ROLE_INTERNAL);
|
||||
|
||||
if (dcbfd > 0)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user