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:
01ffea0
)
Don't reque for console immediately if we acquire it when dependencies
author
Davin McCall
<davmac@davmac.org>
Fri, 1 Jan 2016 14:58:51 +0000
(14:58 +0000)
committer
Davin McCall
<davmac@davmac.org>
Fri, 1 Jan 2016 14:58:51 +0000
(14:58 +0000)
haven't started.
The theory was that we could append to the end of the queue. In practice,
though, we might be the only service in the queue, in which case
we'll immediately acquire the console if we queue for it and so go
into infinite recursion.
service.cc
patch
|
blob
|
history
diff --git
a/service.cc
b/service.cc
index 2aa3285122c8e509fcaa9469430d3149c3205cd3..346c0a843ff36d81506054cfcb058f6f16d5e66f 100644
(file)
--- a/
service.cc
+++ b/
service.cc
@@
-252,7
+252,6
@@
void ServiceRecord::acquiredConsole() noexcept
else {
// We got the console but can't use it yet.
releaseConsole();
- queueForConsole();
}
}