diff --git a/lib/libimhex/source/helpers/utils.cpp b/lib/libimhex/source/helpers/utils.cpp index c3f273f33..a7c7d9be1 100644 --- a/lib/libimhex/source/helpers/utils.cpp +++ b/lib/libimhex/source/helpers/utils.cpp @@ -988,6 +988,12 @@ namespace hex { nid.dwInfoFlags = NIIF_INFO; Shell_NotifyIcon(NIM_ADD, &nid); + + Sleep(100); + + Shell_NotifyIcon(NIM_DELETE, &nid); + CloseWindow(hwnd); + DestroyWindow(hwnd); #elif defined(OS_MACOS) toastMessageMacos(title.c_str(), message.c_str()); #elif defined(OS_LINUX)