mirror of
https://github.com/brl/mutter.git
synced 2025-01-26 19:39:20 +00:00
profiler: Add missing call to stop profiling
Otherwise the profiling backend (cogl-trace.c) doesn't actually stop, and will complain if we try to start it up again. Fixes: ab39eaf131 ("cogl/trace: Make global start/stop more explicit") Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3068>
This commit is contained in:
parent
d65883e0d7
commit
bea2fdc12b
@ -196,6 +196,8 @@ handle_stop (MetaDBusSysprof3Profiler *dbus_profiler,
|
||||
g_list_free_full (profiler->threads, (GDestroyNotify) thread_info_free);
|
||||
g_mutex_unlock (&profiler->mutex);
|
||||
|
||||
cogl_stop_tracing ();
|
||||
|
||||
profiler->running = FALSE;
|
||||
|
||||
g_debug ("Stopping profiler");
|
||||
|
Loading…
x
Reference in New Issue
Block a user