Original Post
I've uploaded a new update for AngelScript. This time I've improved the AngelScript garbage collector so that it can be allowed to take care of application registered types as well. Most registered types probably won't need this, but if you intend to register container classes that can form circular references, then you may want to look into this. For the GC to be able to take care of the registered types a couple of new behaviours must be implemented and registered for the types. Now that registered types can be handled by the script engine, I decided to move the built-in any type out of the core library and into an add-on instead. It's thus no longer a built-in type and can be registered if desired by the application. For the next version I plan on improving the interface for registering types and functions. Once it is complete, it will be easier to catch and pinpoint mistakes in the registration so that less time is spent on debugging memory leaks or stack corruptions. Regards, Andreas