winnitron / WinnitronLauncher

The official Winnitron launcher! The meat and potatoes of the Winnitron.
winnitron.com
MIT License
34 stars 7 forks source link

Idle timeout leaves Nidhogg running in backgound #42

Closed Ludonaut closed 7 years ago

Ludonaut commented 7 years ago

Observed with: Nidhogg

How to reproduce:

Starting the game again brings up another instance of the game. This leaves multiple garbage instances open and could probably crash machines or fill up RAM or something, if repeated often enough.

I've tested this with other games (Canabalt, Sumo Topplers), but couldn't reproduce it yet.

aaronklaassen commented 7 years ago

Ah this must be what I was talking about with you @mrmwiebe the other day. I didn't realize it was just Nidhogg though.

mrmwiebe commented 7 years ago

I've asked the AHK community about it, will get on this when I get a reply.

mrmwiebe commented 7 years ago

I basically made AHK cycle through a bunch of possibilities. Turns out it was trying to close "Nidhogg.exe" when the app was named "Nidhogg".