amzn-sean
34afed6792
fixed Ragdoll component can crash on deactivate ( #2834 )
...
fixes #2650
The root of the crash was connecting/disconnecting to the AZ::Event SceneSimulationStart when not on the main thread, as that is not thread safe.
The connection/disconnection was originally handled from Enable/EnableQueued and Disable/DisabledQueued which can be called from other threads within EmotionFX. I've moved the connection/disconnection to the Constructor / destructor, as the handler is responsible for executing the queued enable/disable actions and it makes sense to have that connection happen external to the Enable/disable path.
Signed-off-by: amzn-sean 75276488+amzn-sean@users.noreply.github.com
2021-08-05 14:27:31 +01:00
..
2021-07-16 15:25:48 -07:00
2021-07-16 15:42:37 -07:00
2021-07-16 15:42:37 -07:00
2021-07-16 15:42:37 -07:00
2021-08-05 14:27:31 +01:00
2021-07-16 15:42:37 -07:00
2021-07-16 15:25:48 -07:00
2021-08-03 20:38:18 -05:00
2021-07-20 02:31:38 +02:00
2021-07-16 15:42:37 -07:00
2021-07-16 15:25:48 -07:00
2021-07-16 15:42:37 -07:00
2021-07-16 15:25:48 -07:00
2021-07-16 15:42:37 -07:00
2021-07-16 15:25:48 -07:00
2021-07-16 15:42:37 -07:00
2021-07-16 15:25:48 -07:00
2021-07-16 15:42:37 -07:00
2021-07-16 15:42:37 -07:00
2021-07-16 15:42:37 -07:00
2021-07-16 15:25:48 -07:00
2021-07-16 15:42:37 -07:00
2021-07-16 15:25:48 -07:00
2021-07-16 15:42:37 -07:00
2021-07-16 15:25:48 -07:00
2021-07-21 16:33:04 -07:00
2021-07-16 15:25:48 -07:00
2021-07-16 15:42:37 -07:00
2021-07-16 15:25:48 -07:00
2021-07-16 15:42:37 -07:00
2021-07-16 15:25:48 -07:00
2021-07-21 16:33:04 -07:00
2021-07-16 15:25:48 -07:00
2021-07-16 15:42:37 -07:00
2021-07-16 15:25:48 -07:00
2021-07-16 15:42:37 -07:00
2021-07-16 15:25:48 -07:00
2021-07-28 17:31:45 +01:00
2021-07-16 15:25:48 -07:00
2021-07-21 16:33:04 -07:00
2021-07-16 15:25:48 -07:00
2021-07-16 15:42:37 -07:00
2021-07-16 15:25:48 -07:00
2021-07-16 15:42:37 -07:00
2021-07-16 15:25:48 -07:00
2021-07-16 15:42:37 -07:00
2021-07-16 15:25:48 -07:00
2021-07-16 15:42:37 -07:00
2021-07-16 15:42:37 -07:00
2021-07-16 15:42:37 -07:00
2021-07-16 15:25:48 -07:00
2021-07-16 15:42:37 -07:00
2021-07-16 15:42:37 -07:00
2021-07-16 15:42:37 -07:00
2021-07-16 15:25:48 -07:00
2021-07-16 15:42:37 -07:00
2021-07-16 15:25:48 -07:00
2021-07-16 15:42:37 -07:00
2021-07-16 15:42:37 -07:00
2021-07-16 15:42:37 -07:00
2021-07-16 15:25:48 -07:00
2021-07-16 15:42:37 -07:00
2021-07-16 15:25:48 -07:00
2021-07-16 15:42:37 -07:00
2021-07-16 15:25:48 -07:00
2021-07-16 15:42:37 -07:00
2021-07-16 15:25:48 -07:00
2021-07-16 15:42:37 -07:00
2021-07-16 15:25:48 -07:00
2021-07-16 15:42:37 -07:00
2021-07-16 15:25:48 -07:00
2021-07-16 15:42:37 -07:00
2021-07-16 15:25:48 -07:00
2021-07-16 15:42:37 -07:00
2021-07-16 15:25:48 -07:00
2021-07-30 16:14:49 -05:00
2021-07-16 15:25:48 -07:00
2021-07-28 13:39:32 +01:00
2021-07-16 15:25:48 -07:00
2021-07-16 15:42:37 -07:00
2021-07-16 15:25:48 -07:00