KhronosGroup/glTF — pull request #306 by tfili (2014-07-16 21:01:02+00:00)
Title: Fixed memory corruption

Only 1 shared_ptr can be created with the naked pointer. All other shader_ptr objects must be created with another shared_ptr because the reference count is stored in the pointers, not the actual objects. Adding a shared_ptr to this caused the asset to get destroyed immediately after addValueEvaluator was called. This is generally towards the end of the app so it wouldn't always crash but running it as part of another process corrupted memory and caused a consistent crash.

Since evaluationWillStart, evaluate and evaluationDidComplete are all empty in GLTFAsset it doesn't affect anything removing this line.