network/arp: Add assertion that the cache is empty upon uninit.
May help with diagnosing #19185.
This commit is contained in:
@@ -960,6 +960,7 @@ arp_init()
|
|||||||
static status_t
|
static status_t
|
||||||
arp_uninit()
|
arp_uninit()
|
||||||
{
|
{
|
||||||
|
ASSERT(sCache->IsEmpty());
|
||||||
unregister_generic_syscall(ARP_SYSCALLS, 1);
|
unregister_generic_syscall(ARP_SYSCALLS, 1);
|
||||||
return B_OK;
|
return B_OK;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user