overte-JulianGro/interface
Anthony J. Thibault 0a943fbe7b Crash/Deadlock fix: Web3DOverlay could be destroyed on wrong thread.
When script calls Entities.getChildrenIDs*() it is possible to deadlock the main thread, and also invoke
the destructor of Entities and Overlays, which is very NOT thread safe.

The fix is to use a pattern already in use in several places in our codebase.
Use the custom deleter parameter of std::shared_ptr to call deleteLater() instead of destroying the object in place.
This allows any thread to use shared_ptrs of SpatiallyNestables without fear.
2017-10-11 17:32:34 -07:00
..
external
i18n
icon
resources Merge pull request #11567 from zfox23/commerce_daveIntegration3 2017-10-11 11:07:03 -07:00
src Crash/Deadlock fix: Web3DOverlay could be destroyed on wrong thread. 2017-10-11 17:32:34 -07:00
ui
CMakeLists.txt fix osx build 2017-10-09 17:34:43 -07:00
interface.exe.manifest