diff options
Diffstat (limited to 'src/runtime/proc.go')
| -rw-r--r-- | src/runtime/proc.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/runtime/proc.go b/src/runtime/proc.go index 3c3acf0dd7..67ff556ac4 100644 --- a/src/runtime/proc.go +++ b/src/runtime/proc.go @@ -4088,6 +4088,7 @@ func (pp *p) destroy() { mheap_.spanalloc.free(unsafe.Pointer(pp.mspancache.buf[i])) } pp.mspancache.len = 0 + pp.pcache.flush(&mheap_.pages) }) freemcache(pp.mcache) pp.mcache = nil |
