deleting types

BlitzMax Forums/BlitzMax Programming/deleting types

because you create memory leaks with flushmem outside the base scope

NEVER use flushmem outside the "main loop" level (base scope level of app) or you will have memory leaks.

This is due to memory that is used by GC to clean up.