Fix the bug system initailize and shutdown pair. 44/295044/2
authorWonsik Jung <sidein@samsung.com>
Fri, 30 Jun 2023 09:16:47 +0000 (18:16 +0900)
committerWonsik Jung <sidein@samsung.com>
Mon, 3 Jul 2023 06:18:58 +0000 (15:18 +0900)
commit5a591b2ba96e65bbcd0bcd28ab83f7789c93034d
tree744393d2c5984b1574b0efb33caf613fa612710d
parent2eaff9402d68a643bc3ed8529a451526d207a0bd
Fix the bug system initailize and shutdown pair.

This patch is to fix the bug system initailize and shutdown pair.
Sometimes,  WindowSystem::Shutdown() is called before WindowSystem::Initialize() is not calling.
The example is the below.
int UtcDaliApplicationNew01(void)
{
  Application application = Application::New();

  MyTestApp testApp(application);

  DALI_TEST_CHECK(application);

  END_TEST;
}

Change-Id: Icf3c19757bdc2b772bdc8fdd6ef1b67eba3f2c8b
dali/internal/adaptor/common/application-impl.cpp
dali/internal/adaptor/common/application-impl.h