[BUG] Spectator api still returns data from a custom game despites the game being over
Bug Description
I start a custom game with my account (no other player/no bots), and then stopped the match after 1-2 minutes.
After the match is over, when calling the spectator endpoint, it still shows me that I'm in this game.
And the game will still appear 60+ minutes after the game ended.
EUW - GameId: 5027564026 - EncryptedSummonerId: 10RPO4cOVeQd2wlZbBWda9u2-I5J91IYcSdCfY1xZ4hcD-w

- Frequency: Repro 100%
- Severity: High
Player Impact
If my users do a custom game and then a "normal" game, 80% of the time they will get the custom game being displayed.
Repro steps Start a custom game. Play for one minute. Leave. Wait 20minutes. The spectator api still shows you as being ingame
Thanks
Also, for other types of games, the game data seem to stay on the spectator endpoint 2-3 minutes after a game ends, which can lead to display the data from the previous game to a user
The game staying on the spectator server after it ends in non-custom situations is due to spectator delay most likely. (its 3min)
As for the custom game still staying after, i dont think the server destroys the game before the nexus dies from minions (just a guess tho)
I don't hink it used to be like that in the past