diff --git a/src/goodbyedpi.c b/src/goodbyedpi.c index a1b42af..2635860 100644 --- a/src/goodbyedpi.c +++ b/src/goodbyedpi.c @@ -309,6 +309,7 @@ static HANDLE init(char *filter, UINT64 flags) { static int deinit(HANDLE handle) { if (handle) { + WinDivertShutdown(handle, WINDIVERT_SHUTDOWN_BOTH); WinDivertClose(handle); return TRUE; }