Why does Citra shut down my PC on its own?

Issue:
I was playing MK7. All was well until my Windows 10 gaming PC shut down on its own while playing, as if I did from the Start menu.
What am I supposed to do to stop this?
Does it also happen in Yuzu Emulator?

System Information

  • Operating System: Windows 10
  • CPU: IDK
  • GPU: AMD Ryzen
  • Citra Version (found in title bar): Nightly
  • Game: Mario Kart 7
  • Screenshot of Issue (include the full Citra window including titlebar):

Diagnostic Log
Upload your log file as an attachment by dragging & dropping.

In order to save a copy of the log, follow this guide:
https://community.citra-emu.org/t/how-to-upload-the-log-file/296

If this happens with both yuzu and Citra, it sounds like your computer might be overheating or experiencing some other issue.

In order for us to provide better support, we need to see the log generated by Citra. This guide will walk you through how you can obtain the log file: How to Upload the Log File.