Gmod random quit
So when I play Garry's Mod it randomly quits in the middle of the game. It doesn't crash but it quits to my desktop. This is very annoying for me. When it quits a little window appears in the corner of my screen and then goes away. Does anybody know how to fix this?