Fix crash when resize window during Animation mode 79/301979/3
authorEunki, Hong <eunkiki.hong@samsung.com>
Wed, 29 Nov 2023 01:43:19 +0000 (10:43 +0900)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Wed, 29 Nov 2023 14:22:54 +0000 (14:22 +0000)
commit0b58b0a13c3515cf23eac247257a695e85b2c6dd
tree5d600a56624d53a1ed5f72e944042c81e51c0eb7
parentf638920616aff93ba6f8fb81ad5bb25390bd5889
Fix crash when resize window during Animation mode

When we are running on animation ball, mPhysicsAdaptor don't have body.
If then, when we resize the window, it will be asserted

Change-Id: I2c71a2b1e845d7257f581fcc41f997794ee78fa5
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
examples/benchmark-2dphysics/benchmark-2d-physics-controller.cpp