projects
/
oweals
/
dinit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3da07d
)
Avoid issuing do_stop twice when a process service process exits.
author
Davin McCall
<davmac@davmac.org>
Fri, 15 Jun 2018 16:20:26 +0000
(17:20 +0100)
committer
Davin McCall
<davmac@davmac.org>
Fri, 15 Jun 2018 16:20:26 +0000
(17:20 +0100)
Probably it's harmless, but we may as well avoid it.
src/proc-service.cc
patch
|
blob
|
history
diff --git
a/src/proc-service.cc
b/src/proc-service.cc
index f2e0b0df9cc3b2ee92452f317a200afe95dcf203..46034df8583818d4fa9c87a72dbc31e661841f78 100644
(file)
--- a/
src/proc-service.cc
+++ b/
src/proc-service.cc
@@
-275,7
+275,7
@@
void bgproc_service::handle_exit_status(bp_sys::exit_status exit_status) noexcep
}
if (! do_auto_restart() && start_explicit) {
start_explicit = false;
- release();
+ release(
false
);
}
forced_stop();
stop_dependents();