Skip to content

Commit 34cafdd

Browse files
fix: remove stale ctx.pc on windows, use platformContext->getPc()
1 parent 970c199 commit 34cafdd

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

src/core/bindings/native_exception_handler.cc

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -182,12 +182,6 @@ static LONG CALLBACK vehHandler(PEXCEPTION_POINTERS ep) {
182182
return EXCEPTION_CONTINUE_SEARCH;
183183
}
184184

185-
#ifdef CHROMATIC_X64
186-
ctx.pc = ep->ContextRecord->Rip;
187-
#else
188-
ctx.pc = ep->ContextRecord->Pc;
189-
#endif
190-
191185
// Dispatch through handler chain
192186
g_lock.lock();
193187
auto handlers = g_handlers;

0 commit comments

Comments
 (0)