diff options
author | Jürg Billeter <j@bitron.ch> | 2020-10-13 16:55:36 +0200 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2020-10-26 12:19:31 +0000 |
commit | 4cd14b1097fff9fa35ecc84c831de8966bf13a03 (patch) | |
tree | 14a22fb8fa0595f5c7ff093e0ece8e77bb3a7af6 /src/buildstream/_scheduler/scheduler.py | |
parent | 8a743485981b52ae916279099880fe1c2a83a59e (diff) | |
download | buildstream-4cd14b1097fff9fa35ecc84c831de8966bf13a03.tar.gz |
scheduler.py: Invoke the ticker callback at the end of run()juerg/scheduler-ticker
This allows the frontend to render pending messages.
Diffstat (limited to 'src/buildstream/_scheduler/scheduler.py')
-rw-r--r-- | src/buildstream/_scheduler/scheduler.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/buildstream/_scheduler/scheduler.py b/src/buildstream/_scheduler/scheduler.py index 5f0d69a06..903cd0be9 100644 --- a/src/buildstream/_scheduler/scheduler.py +++ b/src/buildstream/_scheduler/scheduler.py @@ -154,6 +154,9 @@ class Scheduler: self.loop.run_forever() self.loop.close() + # Invoke the ticker callback a final time to render pending messages + self._ticker_callback() + # Stop watching casd _watcher.remove_child_handler(self._casd_process.pid) self._casd_process = None |