overte-HifiExperiments/libraries
Anthony J. Thibault ac6fcf092c Fix memory corruption via lambdas that capture local variables by reference.
The lambdas in ScriptEngine::fetchModuleSource() were referencing local stack variables by reference.
This could lead to un-expected results including memory corruption.
To workaround this issue the QTimer and QEventLoop variables are allocated on the heap and held onto by a shared_ptr.
This shared_ptr is passed to the lambda.

This will not result in cycles and should result in the QTimer and QEventLoop being destroyed when the BatchLoader
object they are connected to is deleted.
2018-06-28 11:15:25 -07:00
..
animation
audio
audio-client
auto-updater
avatars
avatars-renderer Merge pull request #13392 from roxanneskelly/roxie-bugfixes 2018-06-25 10:42:43 -07:00
baking
controllers
display-plugins
embedded-webserver
entities Merge pull request #13409 from humbletim/add-raypick-shapeID 2018-06-26 10:25:39 -07:00
entities-renderer make requested changes 2018-06-26 11:53:45 -07:00
fbx
gl
gpu
gpu-gl Same fix as the point lighting flashing for rc69 in master 2018-06-22 14:59:37 -07:00
gpu-gl-common Same fix as the point lighting flashing for rc69 in master 2018-06-22 14:59:37 -07:00
gpu-gles
graphics
graphics-scripting
image
input-plugins
ktx
midi
model-networking
networking
octree
physics handle deactivation of avatar entities differently 2018-06-25 10:37:54 -07:00
plugins
pointers
procedural
qml
recording
render
render-utils Merge pull request #13468 from SamGondelman/secondaryShadows 2018-06-26 15:45:44 -07:00
script-engine Fix memory corruption via lambdas that capture local variables by reference. 2018-06-28 11:15:25 -07:00
shared Merge pull request #13409 from humbletim/add-raypick-shapeID 2018-06-26 10:25:39 -07:00
task
test-utils
trackers
ui
ui-plugins
workload