as memory leaks?
I can't access fluidstudios.com from here (it's barred by the company's proxy) so I can't check out Paul's memory manager. How does it work? Is it free?
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
a=asCreateScriptEngine(ANGELSCRIPT_VERSION);
delete a;
and once or twice for every Register...() call.
You can also get it here: ftp://ftp.flipcode.com/code/mmgr.zip
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
The first one I found was not in AngelScript but in MSVC++'s std::string's destructor.
Did you find any actual memory leaks in AngelScript?
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
Quote: Original post by Aggrav8d
The mmgr complains some 20 times if I
a=asCreateScriptEngine(ANGELSCRIPT_VERSION);
delete a;
and once or twice for every Register...() call.
I hope you're not actually calling delete on the script engine? You should be calling a->Release();
I don't get any complaints on the Register...() calls.
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
AngelScript doesn't actually use std::string, so the problem actually not with the library itself.
Let me know if you still have trouble with AS.
Regards,
Andreas
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game