pw-top: do refresh after sync

So that we also draw the screen quickly when there is no profiler
running.
This commit is contained in:
Wim Taymans 2022-10-21 18:24:53 +02:00
parent 977713a2e1
commit 7a0058ffb6

View file

@ -604,6 +604,8 @@ static void on_core_done(void *_data, uint32_t id, int seq)
if (d->profiler == NULL) { if (d->profiler == NULL) {
pw_log_error("no Profiler Interface found, please load one in the server"); pw_log_error("no Profiler Interface found, please load one in the server");
pw_main_loop_quit(d->loop); pw_main_loop_quit(d->loop);
} else {
do_refresh(d);
} }
} }
} }