What Calls Upon The Game Stopping?

Okay so this is really getting on my nerves.
When I hit stop on my game it takes 10-20 minutes to actually stop, making it impossible to test scripts.

I have NO OnDestroy(), OnApplicationQuit, or any similar functions that run upon stopping, what all functions are called when you stop the game or quit the application?

P.S. it also does this when exiting the game in the build.

Okay now this is the part that is really confusing, I have a scene that is a loading screen to load the main scene, and of course the main scene.

If I just have the main scene opened and then I click stop, it freezes. But if I load the loading scene and then let it load until I’m on the main scene, it doesn’t freeze.

So it is the scene but it isn’t? I’m very confused.

Please help ASAP because this is slowing development down to where I only add 1-2 features a day, as apposed to 4-6 a day before. (Small features, only big ones once every 5-6 days, now never)

Thanks in advance.

I’m sorry to say this, but I think your computer just can’t handle Unity. What computer do you have because if you have 1 GB of ram or 2, you need at least 3 to run Unity and if you have a 1, 2, or 3ghz processor you need around 4ghz, though 3ghz wouldn’t take 10-20 mins to stop, it would take around 20 seconds.

I hope I helped!

(P.S: I have made an early release of my game that is not quite finished on gamejolt.com called Buzzle. here is the link:)
Game Jolt - Share your creations