Fixed undisposed wrapper on folder remove event

This commit is contained in:
Patrick Simpson 2017-02-22 11:56:55 +01:00
parent f5ea05189c
commit 4a57e014c2
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ namespace Acacia.ZPush
// Hence, fetch all the remaining folder ids, and remove any folder that no longer exists.
// TODO: move this logic into IFolders?
HashSet<string> remaining = new HashSet<string>();
foreach (IFolder child in _folder.SubFolders)
foreach (IFolder child in _folder.SubFolders.DisposeEnum())
{
try
{