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-22 17:01:01 -07:00
2021-07-16 15:25:48 -07:00
2021-08-05 09:45:03 +01:00
2021-07-16 17:50:44 -05:00
2021-08-04 15:34:22 -05:00
2021-07-16 15:25:48 -07:00
2021-07-27 18:18:03 -05:00
2021-07-29 14:56:13 -05:00
2021-07-16 15:25:48 -07:00
2021-07-23 10:29:03 -07:00
2021-07-19 15:48:18 -07:00
2021-07-23 11:33:11 -07:00
2021-07-26 12:19:00 -06:00
2021-08-04 14:11:10 -05:00
2021-07-26 13:58:50 -07:00
2021-07-21 16:33:04 -07:00
2021-07-16 15:25:48 -07:00
2021-07-16 15:25:48 -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-23 08:40:03 +01:00
2021-08-02 11:33:55 -07:00
2021-07-16 17:50:44 -05:00
2021-07-21 16:33:04 -07:00
2021-07-16 15:25:48 -07:00
2021-07-16 17:50:44 -05:00
2021-07-16 15:42:37 -07:00
2021-07-23 16:28:45 -05:00
2021-07-28 16:51:25 -07:00
2021-07-16 15:25:48 -07:00
2021-07-16 15:42:37 -07:00
2021-07-29 16:30:45 -05:00
2021-07-22 17:01:01 -07:00
2021-07-21 16:33:04 -07:00
2021-07-26 11:32:12 -07:00
2021-07-16 15:25:48 -07:00
2021-08-03 10:14:09 -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:42:37 -07:00
2021-07-23 15:50:27 -07:00
2021-08-02 20:31:02 -07:00
2021-07-26 14:14:56 -07:00
2021-08-03 14:52:53 -07:00
2021-07-16 15:25:48 -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-07-16 15:25:48 -07:00
2021-07-16 15:25:48 -07:00
2021-07-16 15:25:48 -07:00
2021-07-16 15:25:48 -07:00
2021-08-05 12:03:02 +02:00
2021-07-26 14:14:56 -07:00
2021-07-16 15:42:37 -07:00
2021-07-16 15:25:48 -07:00
2021-07-27 09:15:26 +02:00
2021-08-04 08:47:37 -07:00
2021-07-16 15:42:37 -07:00
2021-07-16 15:42:37 -07:00
2021-07-28 19:10:59 -07:00
2021-07-16 15:42:37 -07:00
2021-07-30 19:31:43 +02:00
2021-07-16 15:42:37 -07:00
2021-07-16 15:42:37 -07:00
2021-07-27 13:12:36 -05:00
2021-07-16 15:42:37 -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:42:37 -07:00
2021-07-16 15:42:37 -07:00
2021-07-16 15:25:48 -07:00
2021-08-02 13:19:15 -05:00
2021-07-16 15:25:48 -07:00
2021-07-16 15:42:37 -07:00
2021-07-30 11:41:02 -07:00