From 275c9ab0bdc8141ae1b2cbb2de859403ec145c8c Mon Sep 17 00:00:00 2001 From: xieguigang Date: Fri, 4 Aug 2023 09:26:34 +0800 Subject: [PATCH] add dev notes --- src/Parallel/MemoryMap/MapObject.vb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Parallel/MemoryMap/MapObject.vb b/src/Parallel/MemoryMap/MapObject.vb index 5a79874..1a30697 100644 --- a/src/Parallel/MemoryMap/MapObject.vb +++ b/src/Parallel/MemoryMap/MapObject.vb @@ -116,6 +116,8 @@ Public Class MapObject : Implements IDisposable Dim bufferSize As Integer Dim hMem As String = If(hMemP.StringEmpty, App.GetNextUniqueName($"mem_{type.Name}_"), hMemP) + ' keeps the memory map file between the process during the runtime + ' via this private static symbol Static mapFiles As New Dictionary(Of String, MemoryMappedFile) Using ms As MemoryStream = BSONFormat.SafeGetBuffer(element)