Vanilla-Conquer icon indicating copy to clipboard operation
Vanilla-Conquer copied to clipboard

Game Doesn't Close, Process Still runs in background.

Open OpenRift412 opened this issue 2 years ago • 4 comments

I have no idea why it's doing this, but when I close the game, I found that it's still running in the background, and I didn't notice until my whole PC started slowing down because there were several instances of VanillaTD running in the background.

OpenRift412 avatar May 07 '23 18:05 OpenRift412

I've not experienced this myself locally unfortunately, does it always do this for you or only after a certain set of actions in game or if you exit in some particular way?

OmniBlade avatar May 17 '23 12:05 OmniBlade

I've not experienced this myself locally unfortunately, does it always do this for you or only after a certain set of actions in game or if you exit in some particular way?

It does this every time I close the game.

OpenRift412 avatar May 17 '23 19:05 OpenRift412

Can confirm this. Happens only with VanillaTD, not VanillaRA.

image

tore29 avatar May 20 '23 15:05 tore29

I see the problem too, in WIN32. Traced it to this recent change of march 2023, which added Sound_End at exit. https://github.com/TheAssemblyArmada/Vanilla-Conquer/commit/52a23fcad56197428a8b0f37d8d00ddd783e2472 What strikes me as odd, is that before this commit there was an elif (Else if) compiler directive. In case of both SDL and WIN32 being defined, it behaved differently.

Gerwin2k avatar May 21 '23 19:05 Gerwin2k

A fix for this has been merged, feel free to reopen if it is still and issue.

OmniBlade avatar Jun 14 '24 09:06 OmniBlade