Open TheMythologist opened 1 year ago
Further investigation:
We may just need to call pydivert.Windivert.close
on the handle instead. But this should be handled with python's with
context operator, so this may not be necessary at all.
Reference: https://pythonhosted.org/pydivert/#pydivert.WinDivert.close
Current premature termination will cause Windivert DLLs to still be loaded into memory (and thus undeletable)
A simple cleanup script/block