mirror of
https://github.com/ValdikSS/GoodbyeDPI.git
synced 2024-11-22 01:55:19 +01:00
Call WinDivertShutdown on shutdown
This commit is contained in:
parent
ee4ce8893c
commit
4a8f7ac4fb
@ -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…
Reference in New Issue
Block a user