andro2157 / DiscordTokenProtector

Protect your Discord token from malicious grabbers!
GNU General Public License v3.0
271 stars 28 forks source link

App Crash causes unremovable tray icon #67

Closed Aperre closed 1 year ago

Aperre commented 1 year ago

Describe the bug If the program crashes or freezes in the starting state the tray icon never gets removed

To Reproduce Steps to reproduce the behavior:

  1. Simulate a crash: When the state is "Starting..." force close with task manager
  2. The tray icon is still there

Expected behavior The tray icon gets removed after crash

Screenshots image

Setup (please complete the following information):

andro2157 commented 1 year ago

Hello, This is an expected behavior if there's a crash, as it doesn't call the function to remove the tray icon before closing. Moving your mouse over the invalid icons should remove them. This is a "bug" in Windows and happens for other softwares too.