diff --git a/cpu/native/net/tap.c b/cpu/native/net/tap.c index 3c3a7ff156..c5590b907c 100644 --- a/cpu/native/net/tap.c +++ b/cpu/native/net/tap.c @@ -354,6 +354,11 @@ int tap_init(char *name) void tap_cleanup(void) { + unregister_interrupt(SIGIO); +#ifdef __MACH__ + kill(sigio_child_pid, SIGKILL); +#endif + if (_native_tap_fd == -1) { return; }