diff --git a/BadUSB-Detect-and-Protect/main.ps1 b/BadUSB-Detect-and-Protect/main.ps1 index d39edd0..cc9d919 100644 --- a/BadUSB-Detect-and-Protect/main.ps1 +++ b/BadUSB-Detect-and-Protect/main.ps1 @@ -299,6 +299,7 @@ $Menu_Exit.add_Click({ Stop-Job -Name DeviceMonitor $Systray_Tool_Icon.Visible = $false $appContext.ExitThread() + sleep 2 exit })