runtime: Don't get confused if m changes during runtime_gc.
From-SVN: r214048
This commit is contained in:
parent
5802281eb6
commit
ab36d98dd2
@ -2204,6 +2204,7 @@ runtime_gc(int32 force)
|
||||
g->status = Gwaiting;
|
||||
g->waitreason = "garbage collection";
|
||||
runtime_mcall(mgc);
|
||||
m = runtime_m();
|
||||
}
|
||||
|
||||
// all done
|
||||
|
Loading…
Reference in New Issue
Block a user