I am having an issue where my PC freezes after closing a game, specifically FiveM which is an online modification for GTA V online with mods, so I'll just refer to it as GTA for right now. When I exit out of the game my PC goes through a weird cycle. Firstly, my audio goes choppy, Secondly, my screen becomes delayed, then starts to lag. My cursor starts to lag, then freezes after some seconds. Now I am left with a laggy screen and can't move my mouse, after a couple of seconds of staring at my helpless system, it freezes fully, forcing me to forcefully reboot it by holding the power button until it turns off. It does this after closing GTA V every time and has not happened before, it started a week ago. I updated my drivers, updated to Windows 11, and repaired corrupted files, and no fix. I had an issue where GTAV would close but resolved it by adding more Virtual RAM.
Specs:
CPU: Intel i3-9100F
GPU: Geforce GTX 1650
RAM: 16 GB DDR4
Motherboard: ASRock H310CM-HDV
Specs:
CPU: Intel i3-9100F
GPU: Geforce GTX 1650
RAM: 16 GB DDR4
Motherboard: ASRock H310CM-HDV