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:
parent
f5ea05189c
commit
4a57e014c2
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user