BGE: Fix issues with async libload.
authorPorteries Tristan <republicthunderbolt9@gmail.com>
Sun, 25 Oct 2015 18:22:29 +0000 (19:22 +0100)
committerPorteries Tristan <republicthunderbolt9@gmail.com>
Sun, 25 Oct 2015 18:22:29 +0000 (19:22 +0100)
commit06d2ad018564ff0538dad042ebe5670788979171
tree9cf328e4e7d5b8210aeb813e0ea8c86d8071cc49
parent0d59acccd33402295e2a18b4051a8192de555a36
BGE: Fix issues with async libload.

This patch fixes:
- the call of LibFree on a unfinished loaded library;
- memory leak created on end of game : the async libraries are loaded but not converted, so not freed with the master scene.

Reviewers: campbellbarton, sybren, youle, hg1, moguri, lordloki

Reviewed By: moguri, lordloki

Differential Revision: https://developer.blender.org/D1571
doc/python_api/rst/bge_types/bge.types.KX_LibLoadStatus.rst
source/gameengine/Converter/KX_BlenderSceneConverter.cpp
source/gameengine/Converter/KX_BlenderSceneConverter.h
source/gameengine/Converter/KX_LibLoadStatus.cpp
source/gameengine/Converter/KX_LibLoadStatus.h
source/gameengine/Ketsji/KX_ISceneConverter.h
source/gameengine/Ketsji/KX_KetsjiEngine.cpp