mirror of
https://review.haiku-os.org/haiku
synced 2024-11-23 07:18:40 +01:00
network/arp: Add assertion that the cache is empty upon uninit.
May help with diagnosing #19185.
This commit is contained in:
parent
5f4e982ea8
commit
c8958f4e0c
@ -960,6 +960,7 @@ arp_init()
|
||||
static status_t
|
||||
arp_uninit()
|
||||
{
|
||||
ASSERT(sCache->IsEmpty());
|
||||
unregister_generic_syscall(ARP_SYSCALLS, 1);
|
||||
return B_OK;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user