summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libgo/runtime/mgc0.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libgo/runtime/mgc0.c b/libgo/runtime/mgc0.c
index 4b78f3bda56..2d6328fbac3 100644
--- a/libgo/runtime/mgc0.c
+++ b/libgo/runtime/mgc0.c
@@ -2204,6 +2204,7 @@ runtime_gc(int32 force)
g->status = Gwaiting;
g->waitreason = "garbage collection";
runtime_mcall(mgc);
+ m = runtime_m();
}
// all done