Fix a bug about pending request 39/291839/1
authorHwankyu Jhun <h.jhun@samsung.com>
Mon, 24 Apr 2023 04:42:08 +0000 (04:42 +0000)
committerHwankyu Jhun <h.jhun@samsung.com>
Mon, 24 Apr 2023 04:42:08 +0000 (04:42 +0000)
commite4a5f39e89969e78668435506af1fdafbebfbc4d
tree372441c7fe04aa944962d2321f1a36061fd5ecb8
parent52b7b104e8152fdc52f9d3224dd6cea22ba21eea
Fix a bug about pending request

When the loader process is preparing, the request will be pended.
In this case, the OnLoaderPrepared() method has to be called.
Unfortunately, there was a bug about that. If the loader manager does
not set the timer, the method cannot be called.

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