Let we make adaptor invalidate if adaptor stop 75/307675/7
authorEunki, Hong <eunkiki.hong@samsung.com>
Tue, 12 Mar 2024 07:05:14 +0000 (16:05 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Fri, 15 Mar 2024 05:57:48 +0000 (14:57 +0900)
commit16fb3176584252fd30e0c2aad1fd500ebaf22f87
tree17367574615d19da38b68e2350e208afea015fa1
parent6851c4bb5f5a3f0f36f606f2a84a2ef9739d2643
Let we make adaptor invalidate if adaptor stop

There was some issue when we try to destruct some singletone class
during application shutting down.

Since Adaptor still available, some singletone class try to access another
singletone class inside of it's destructor. It might make some problem.

To avoid it, let we check that adaptor is stopped at IsAvailable() API.

And also, Let we clean-up all registered processor at Stop timing,
to avoid unmatched behaviour after we change IsAvailable return false even
Core alive.

Change-Id: I039578613d5e79b80b091fef4d7993779a395dfb
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
19 files changed:
automated-tests/src/dali-adaptor/utc-Dali-NativeImageSource.cpp
dali/internal/adaptor/common/adaptor-impl.cpp
dali/internal/adaptor/common/adaptor.cpp
dali/internal/imaging/android/native-image-source-impl-android.cpp
dali/internal/imaging/macos/native-image-source-impl-mac.cpp
dali/internal/imaging/tizen/native-image-source-impl-tizen.cpp
dali/internal/imaging/tizen/native-image-source-queue-impl-tizen.cpp
dali/internal/imaging/ubuntu-x11/native-image-source-impl-x.cpp
dali/internal/imaging/windows/native-image-source-impl-win.cpp
dali/internal/imaging/x11/native-image-source-impl-x.cpp
dali/internal/legacy/common/tizen-platform-abstraction.cpp
dali/internal/system/android/timer-impl-android.cpp
dali/internal/system/linux/timer-impl-ecore.cpp
dali/internal/window-system/android/window-system-android.cpp
dali/internal/window-system/tizen-wayland/ecore-wl/window-system-ecore-wl.cpp
dali/internal/window-system/tizen-wayland/ecore-wl2/window-system-ecore-wl2.cpp
dali/internal/window-system/ubuntu-x11/window-system-ecore-x.cpp
dali/internal/window-system/windows/window-system-win.cpp
dali/internal/window-system/x11/window-system-x.cpp