mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
line-visualizer: lower task priority
Keep task priorities lower than the Gtk main loop.
This commit is contained in:
@ -640,6 +640,7 @@ sp_line_visualizer_row_load_data_async (SpLineVisualizerRow *self,
|
||||
g_assert (!cancellable || G_IS_CANCELLABLE (cancellable));
|
||||
|
||||
task = g_task_new (self, cancellable, callback, user_data);
|
||||
g_task_set_priority (task, G_PRIORITY_LOW);
|
||||
g_task_set_source_tag (task, sp_line_visualizer_row_load_data_async);
|
||||
|
||||
if (priv->reader == NULL)
|
||||
|
||||
Reference in New Issue
Block a user