Help crash when playing

Description of the issue: Everytime I start playing League of Legends, the browser will automatically close.

I’m using windows 11 and the recent version of Brave. I uninstalled 3 times and deleted the files and nothing,