Browse Source

Call WinDivertShutdown on shutdown

windivert2
ValdikSS 3 years ago
parent
commit
4a8f7ac4fb
  1. 1
      src/goodbyedpi.c

1
src/goodbyedpi.c

@ -309,6 +309,7 @@ static HANDLE init(char *filter, UINT64 flags) {
static int deinit(HANDLE handle) { static int deinit(HANDLE handle) {
if (handle) { if (handle) {
WinDivertShutdown(handle, WINDIVERT_SHUTDOWN_BOTH);
WinDivertClose(handle); WinDivertClose(handle);
return TRUE; return TRUE;
} }

Loading…
Cancel
Save