From a684b0b7261e20abddafb92962add105ec3e8793 Mon Sep 17 00:00:00 2001 From: Davin McCall Date: Fri, 1 Jan 2016 14:58:51 +0000 Subject: [PATCH] Don't reque for console immediately if we acquire it when dependencies 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 | 1 - 1 file changed, 1 deletion(-) diff --git a/service.cc b/service.cc index 2aa3285..346c0a8 100644 --- 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(); } } -- 2.25.1