Skip to content

Commit a2a5684

Browse files
authored
Remove WerRegisterMemoryBlock which causes issues when kernel debugging (#15432)
* Remove WerRegisterMemoryBlock which causes issues when kernel debugging * Change files
1 parent 6099ed4 commit a2a5684

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "prerelease",
3+
"comment": "Remove WerRegisterMemoryBlock which causes issues when kernel debugging",
4+
"packageName": "react-native-windows",
5+
"email": "30809111+acoates-ms@users.noreply.github.com",
6+
"dependentChangeType": "patch"
7+
}

vnext/Shared/MemoryMappedBuffer.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,6 @@ MemoryMappedBuffer::MemoryMappedBuffer(const wchar_t *const filename, uint32_t o
7777
throw facebook::jsi::JSINativeException(
7878
"MapViewOfFile/MapViewOfFileFromApp failed with last error " + std::to_string(GetLastError()));
7979
}
80-
81-
WerRegisterMemoryBlock(m_fileData.get(), m_fileSize);
8280
}
8381

8482
size_t MemoryMappedBuffer::size() const {

0 commit comments

Comments
 (0)