Flushmem a pain in the RRR

BlitzMax Forums/BlitzMax Programming/Flushmem a pain in the RRR

I think some people are missing the point - this is not a thread about my personal preferences on garbage collection, I'm saying there's a bug that's causing an un-handled crash and asking if anyone can see a problem with the way I'm using Flushmem.

I WOULD REALLY APPRECIATE SOME HELP - EVEN IF ITS JUST A SCAN THROUGH MY CODE BY EYE, not running it.

All the FMOD stuff works fine until I put a main loop in with a flushmem(). You can ignore the slider stuff - it crashes without this.

pub.fmod is here if anyone is interested:

http://www.blitzmax.com/Community/posts.php?topic=49584