Replace the exception case in tizen backend. 48/324748/2
authorWonsik Jung <sidein@samsung.com>
Sat, 24 May 2025 23:56:28 +0000 (08:56 +0900)
committerWonsik Jung <sidein@samsung.com>
Tue, 27 May 2025 05:50:07 +0000 (14:50 +0900)
commit64190a12e916b913bddeef6efbf93977e01583dc
tree4a0e77a4ac44aefd8799955c6040363776316317
parent512565c0e96e18bc52fe323a480ebf2d6fe035db
Replace the exception case in tizen backend.

Replace the excepption case in tizen backend when display server does not work.
When display server does not work, then ecore_wl2_display_connect() does not work and crash occurs in application size.
To handle the failure case where the display server does not work in the Tizen backend, you can modify the ecore_wl2_display_connect() function to avoid crashing the application.
Specifically, replace the exit() call with a more graceful error handling mechanism.

Change-Id: Ice83d181fe468bc0b9bdcca48f2fcc6496d855f1
dali/internal/window-system/tizen-wayland/ecore-wl2/window-base-ecore-wl2.cpp