Why game EXE crashes after application.quit() is called?

Our game crashes when application.quit() is called by the quit button. It is an EXE Windows build and I’m running it in Windows 10. Quitting from some scenes seems to work but quitting from the biggest scene causes the EXE to hang until it crashes.

The game is built in Unity 2018.3.14

Try System.Diagnostics.Process.GetCurrentProcess().Kill();