Fix crash issue of first dotnet application to be executed 22/291822/1
authorHwankyu Jhun <h.jhun@samsung.com>
Sun, 23 Apr 2023 22:32:02 +0000 (22:32 +0000)
committerHwankyu Jhun <h.jhun@samsung.com>
Sun, 23 Apr 2023 22:32:02 +0000 (22:32 +0000)
commita73ec7444d70da28fd15adb490c72829aaad4e4e
tree54a752828b2047b5163903669464a72276e35632
parent158ec755372bb8b60f371027cfeae7557eb81af7
Fix crash issue of first dotnet application to be executed

There is a problem about loading the launcher info in the AppExecutor class.
In the previous implementation, the AppExecutor created the process pool
before initializing the launcher info. It causes the crash issue.
If the launch request is for dotnet or dotnet-nui app-types, the process pool
cannot execute it properly. Because, there is no launcher info.
This patch modifies the process pool initialization of the AppExecutor.

Change-Id: Icf41ab3584d85963d793b497290010805f1bab91
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/launchpad-process-pool/app_executor.cc
src/launchpad-process-pool/app_executor.hh