port: assert that the update queue is empty before freeing
This commit is contained in:
parent
5b7b5b0ed4
commit
55d08bee97
@ -110,6 +110,8 @@ int ep_port_delete(ep_port_t* port_info) {
|
||||
poll_group_delete(poll_group);
|
||||
}
|
||||
|
||||
assert(queue_empty(&port_info->sock_update_queue));
|
||||
|
||||
DeleteCriticalSection(&port_info->lock);
|
||||
|
||||
_ep_port_free(port_info);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user