diff options
author | Marek Safar <marek.safar@gmail.com> | 2017-04-05 16:58:09 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2017-04-05 16:58:09 +0300 |
commit | a0632fdd7025f061388d8697af7968b7f9a0fcfd (patch) | |
tree | fb44992bd0c48137a55d891d2b4d6f8ad3791508 | |
parent | 09ed62288e370667bc38b0cb6990c2b6ef631cfb (diff) |
Fixes previous commit
-rw-r--r-- | Mono.Cecil/ModuleDefinition.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Mono.Cecil/ModuleDefinition.cs b/Mono.Cecil/ModuleDefinition.cs index d699e8c..a15a6ba 100644 --- a/Mono.Cecil/ModuleDefinition.cs +++ b/Mono.Cecil/ModuleDefinition.cs @@ -1022,8 +1022,9 @@ namespace Mono.Cecil { if (!symbol_reader.ProcessDebugHeader (directory, header)) throw new InvalidOperationException (); - } finally { + } catch { symbol_reader = null; + throw; } } |