The source project of this merge request has been removed.
plugins/default: Fix NULL unref in kill_switch_workspace
Since the completion callback (on_switch_workspace_effect_complete
) sets priv->tml_switch_workspace1
to NULL
, prior to this change the g_object_unref
was trying to unref NULL
, and the reffed ClutterTimeline
was not getting unreffed.
This could be triggered by rapidly switching workspaces, switching again before the animation of the initial switch was done.
Found while working on #2038 (closed).