diff --git a/de4dot.code/FilesDeobfuscator.cs b/de4dot.code/FilesDeobfuscator.cs index f05ac97c..c972e69d 100644 --- a/de4dot.code/FilesDeobfuscator.cs +++ b/de4dot.code/FilesDeobfuscator.cs @@ -87,6 +87,8 @@ namespace de4dot { new DefinitionsRenamer(new List { file }).renameAll(); file.save(); + + AssemblyResolver.Instance.removeModule(file.ModuleDefinition); } catch (Exception ex) { Log.w("Could not deobfuscate {0}. Use -v to see stack trace", file.Filename);