Battle net just quits on me

Twice a week while i was playing comp (both times) my game just kicked me out and closed the whole system while teling me that the Bnet client application is closed.I tried connecting back but it just wont let me.I restart my computer and it seems that it lets me open the battle net again.Does anyone knows how to stop this?I have never quit intentionally a competitive game in my life and i am very sad to abandom my team8s

Please move your post to #technical-support (edit and change category) and reply with a DxDiag report.

With any PC-related tech issue, please include a DxDiag so members of the community can help you troubleshoot. Thank you.

Click here to show/hide DxDiag instructions
  1. Press Windows Key + R, then type DxDiag and press Enter.
  2. In the DxDiag window, click Save All Information.
  3. Name the file “dxdiag” and click Save.

To add it to your reply here:

  1. Open the text file and copy all of the text.
  2. Paste the text in your reply.
  3. Highlight the pasted text and click </> on the post editor.

If your DxDiag does not fit in one message DO NOT shorten it. Instead, post it on Pastebin.com and provide the hash code (the numbers/letters after the .com) in your reply.

thank you very much for your answer,it helped me,and now the problem seems to be fixed