Wow crash while playing dung or raid

hello i have a problem with this game
it happens only when i am at dungeon or raid, game randomly freezes for 5-10 seconds, but sometimes it crashes
my specs
win 11 24h2
7800x3d
32 gb memory
4070ti super

Are you streaming on discord while playing ? If you do ,then that’s the problem.