Skip to content

On Windows the icon stays visible after exiting the app until you move your mouse over it #1

Description

@alinnert

I'm using Windows 10 (1709). I wrote a simple test script and everything works fine so far. But when I exit the app the icon in the systray doesn't get removed. It stays there until I hover the mouse pointer over it. I know this behavior from apps that crash. Windows doesn't seem to recognize that the app isn't running anymore.

I've tried to exit the app the following ways:

// v1
systray.kill()
// v2
process.exit(0)
// v3
systray.kill()
process.exit(0)

None of them makes the icon disappear after the app stops running.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions