attach finalizer in mmap
to the correct object
#54210
Merged
mmap
to the correct object
#54210