1
0
mirror of https://github.com/Kopano-dev/kopano-ol-extension.git synced 2023-10-10 13:37:40 +02:00

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

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
{