Had the same issue. Laptop kept restarting after 10mins of playing. Appears to be heating issue, solved this by installing Battle Encoder Shirase utility (https://mion.faireal.net/BES/) and throttling down hl2.exe by 10% when CPU becomes too hot.
my BMS crashes every 4 or 5 mins and i dont know what i need to do here i will attach .dmdp crash file
oh no i cant attach file idk why… and autoexec.cfg file have only these lines:
exec config.cfg
\exec threading.cfg