Switching scrollable entity leads to asserts in Bus connection code due to the fact that previous handler was not disconnected. So this is a pretty trivial fix.
I also changed the following calls from using the m_scrollableEntity that was just assigned to using the entity is passed as parameter to avoid load-hit-stores.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Switching scrollable entity leads to asserts in Bus connection code due to the fact that previous handler was not disconnected. So this is a pretty trivial fix.
I also changed the following calls from using the m_scrollableEntity that was just assigned to using the entity is passed as parameter to avoid load-hit-stores.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.