# HG changeset patch # User cin # Date 2017-06-22 22:03:42 # Node ID 8808383fcb949eb102145e3942202179cc0b26e5 # Parent 42814145d4728446cca94ba7b74e228d4a8778de fixed recursion in Safe.Dispose with IEnumerable diff --git a/Implab/Safe.cs b/Implab/Safe.cs --- a/Implab/Safe.cs +++ b/Implab/Safe.cs @@ -79,7 +79,7 @@ namespace Implab if (obj is IDisposable) { Dispose((IDisposable)obj); } else if (obj is IEnumerable) { - Dispose((IEnumerable)obj); + DisposeCollection((IEnumerable)obj); } }