mirror of
https://gitlab.gnome.org/GNOME/gitg
synced 2024-10-14 11:52:29 +00:00
Can avatar loading on diposing.
This fixes an assertion at exit.
This commit is contained in:
parent
29cd2d203d
commit
825c3cf645
|
@ -136,6 +136,16 @@ class Gitg.DiffViewCommitDetails : Gtk.Grid
|
|||
});
|
||||
}
|
||||
|
||||
protected override void dispose()
|
||||
{
|
||||
if (d_avatar_cancel != null)
|
||||
{
|
||||
d_avatar_cancel.cancel();
|
||||
}
|
||||
|
||||
base.dispose();
|
||||
}
|
||||
|
||||
private string author_to_markup(Ggit.Signature author)
|
||||
{
|
||||
var name = Markup.escape_text(author.get_name());
|
||||
|
|
Loading…
Reference in a new issue