Merge pull request #1668 from alexanderkyte/bug1856
[mono.git] / mono / mini / exceptions-amd64.c
index 502015268f6e3d654b88257a8f7db67b585a6a56..72342361fdc87d69d95007e294f5ac0953335534 100644 (file)
@@ -332,8 +332,10 @@ mono_amd64_throw_exception (guint64 dummy1, guint64 dummy2, guint64 dummy3, guin
 
        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;
+               }
        }
 
        /* adjust eip so that it point into the call instruction */