diff options
Diffstat (limited to 'host-interface.hpp')
-rw-r--r-- | host-interface.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/host-interface.hpp b/host-interface.hpp index 36b41d9..0ad3bfb 100644 --- a/host-interface.hpp +++ b/host-interface.hpp @@ -61,11 +61,15 @@ class Host : public sdbusplus::server::object::object< Command command = this->workQueue.front(); this->workQueue.pop(); this->commandComplete(command, Result::Success); + this->checkQueue(); return command; } private: + /** @brief Check if anything in queue and alert host if so */ + void checkQueue(); + /** @brief Persistent sdbusplus DBus bus connection. */ sdbusplus::bus::bus& bus; |