Don't assert when switching folders; fix #7141
This commit is contained in:
parent
40c28c305f
commit
02a23c4747
1 changed files with 2 additions and 1 deletions
|
|
@ -591,7 +591,8 @@ private class Geary.ImapEngine.GenericFolder : Geary.AbstractFolder, Geary.Folde
|
|||
if (open_count == 0 || --open_count > 0)
|
||||
return;
|
||||
|
||||
_properties.remove(remote_folder.properties);
|
||||
if (remote_folder != null)
|
||||
_properties.remove(remote_folder.properties);
|
||||
yield close_internal_async(CloseReason.LOCAL_CLOSE, CloseReason.REMOTE_CLOSE, cancellable);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue