mirror of
https://gitlab.gnome.org/GNOME/gitg
synced 2024-08-28 04:19:40 +00:00
Avoid holding on to temporary submodule instance
This commit is contained in:
parent
058d91ebd6
commit
20aa1e59db
|
@ -299,7 +299,10 @@ public class StageStatusEnumerator : Object
|
|||
|
||||
if (!d_ignored_submodules.contains(submodule.get_name()))
|
||||
{
|
||||
add(new StageStatusSubmodule(submodule));
|
||||
try
|
||||
{
|
||||
add(new StageStatusSubmodule(d_repository.lookup_submodule(submodule.get_name())));
|
||||
} catch {}
|
||||
}
|
||||
|
||||
return d_cancellable.is_cancelled() ? 1 : 0;
|
||||
|
|
Loading…
Reference in a new issue