When you do it make sure everything's blocked so your game won't be interrupted, then as quick as you want just buy as much money as possible with donuts, expand how much you want then buy all the premium stuff you want, then it doesn't matter if you go off cause you can just fix it all etc.
I had 75 donuts and planned on spending them and doing the glitch, stopping as soon as I got 150 donuts in the Buddha, but then when I started getting rid of they 75 I found 150 straight away ;)
If you're on using the glitch, before you come off, buy a bunch of homer Buddhas until you get 2,3,4 sets of 30,60,150 donuts. I just did, got 30,30,60 and s few other stuff trying to get them then when I cam off still had 75.. Don't try too much or you'll just loose them all.
When in the glitch if you haven't spent any donuts and you buy a Buddha and win 60 donuts, you have 60 donuts when they reset. But they go down every time you buy a Buddha so if you then bought 4 Buddhas and won rubbish then you'd still have 0 I think. I went mad on Buddhas and got 30, 60, 150...