Steam will show a game as 'Running' even after exiting when opening through Infinity

Title basically. Only occurs when running game through infinity and not directly through steam client.

Run game yourself then attach infinity

When you say attach infinity, you mean just have the program open? Or I need to run the game myself, and then press play in the top right corner?

Run game then click Play in infinity

Do you have discord installed?