diff --git a/Confuser.Core/ConfuserEngine.cs b/Confuser.Core/ConfuserEngine.cs index fda0a95d7..a95bdb867 100644 --- a/Confuser.Core/ConfuserEngine.cs +++ b/Confuser.Core/ConfuserEngine.cs @@ -175,6 +175,8 @@ private static void RunInternal(ConfuserParameters parameters, CancellationToken } catch (Exception ex) { context.Logger.ErrorException("Unknown error occurred.", ex); } finally { + if (context.Resolver != null) + context.Resolver.Clear(); context.Logger.Finish(ok); } }