network/arp: Add assertion that the cache is empty upon uninit.

May help with diagnosing #19185.
This commit is contained in:
Augustin Cavalier 2024-10-17 16:49:20 -04:00
parent 5f4e982ea8
commit c8958f4e0c

View File

@ -960,6 +960,7 @@ arp_init()
static status_t
arp_uninit()
{
ASSERT(sCache->IsEmpty());
unregister_generic_syscall(ARP_SYSCALLS, 1);
return B_OK;
}