projects
/
platform
/
core
/
appfw
/
launchpad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8580cd
)
Modify disposal loader handler
67/298867/1
author
Hwankyu Jhun
<h.jhun@samsung.com>
Thu, 14 Sep 2023 10:15:00 +0000
(19:15 +0900)
committer
Hwankyu Jhun
<h.jhun@samsung.com>
Thu, 14 Sep 2023 10:15:00 +0000
(19:15 +0900)
The result should be delivered to the caller before sending SIGKILL signal.
Change-Id: I829d244b16aa4472ea6935349c5bf0e1353fc553
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/launchpad-process-pool/launchpad.cc
patch
|
blob
|
history
diff --git
a/src/launchpad-process-pool/launchpad.cc
b/src/launchpad-process-pool/launchpad.cc
index
549314e
..
90663d6
100644
(file)
--- a/
src/launchpad-process-pool/launchpad.cc
+++ b/
src/launchpad-process-pool/launchpad.cc
@@
-625,10
+625,10
@@
void Launchpad::HandleDisposeLoaderRequest(std::shared_ptr<Request> request) {
return;
}
+ request->SendResult(0);
loader_context->Dispose();
_W("[PAD_CMD_DISPOSE_LOADER] loader_name: %s, pid: %d",
loader_context->GetLoaderName().c_str(), caller_pid);
- request->SendResult(0);
}
void Launchpad::OnIOEventReceived(int fd, int condition) {