util: Quit early once we've found and removed a later
This prevents an invalid read and also improves performance slightly. https://bugzilla.gnome.org/show_bug.cgi?id=672374
This commit is contained in:
parent
f16f47bd38
commit
5770b5b3c3
1 changed files with 1 additions and 0 deletions
|
@ -921,6 +921,7 @@ meta_later_remove (guint later_id)
|
|||
* repaint func run and get removed
|
||||
*/
|
||||
destroy_later (later);
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue