Merge pull request #1668 from alexanderkyte/bug1856
[mono.git] / mono / mini / exceptions-mips.c
index f0158e5b7a9f2657d1665227a8930b52d8a133c6..dfb4a57d3b9a3ff5418b7cb005b8f283ffbbd387 100644 (file)
@@ -196,8 +196,10 @@ throw_exception (MonoObject *exc, unsigned long eip, unsigned long esp, gboolean
 
        if (mono_object_isinst (exc, mono_defaults.exception_class)) {
                MonoException *mono_ex = (MonoException*)exc;
-               if (!rethrow)
+               if (!rethrow) {
                        mono_ex->stack_trace = NULL;
+                       mono_ex->trace_ips = NULL;
+               }
        }
        mono_handle_exception (&ctx, exc);
 #ifdef DEBUG_EXCEPTIONS