@@ -951,22 +951,22 @@ static void ActivationHandler(int code, siginfo_t* siginfo, void* context)
951951{
952952 ASSERT (g_pHijackCallback != NULL );
953953
954- // Only accept activations from the current process
955- if (siginfo->si_pid == getpid ()
956- #ifdef HOST_OSX
957- // On OSX si_pid is sometimes 0. It was confirmed by Apple to be expected, as the si_pid is tracked at the process level. So when multiple
958- // signals are in flight in the same process at the same time, it may be overwritten / zeroed.
959- || siginfo->si_pid == 0
960- #endif
961- )
962- {
963- PAL_LIMITED_CONTEXT palContext;
964- NativeContextToPalContext (context, &palContext);
965- g_pHijackCallback (&palContext, NULL );
966- // TODO: VS update conditionally, this is rare
967- UpdateNativeContextFromPalContext (context, &palContext);
968- }
969- else
954+ // // Only accept activations from the current process
955+ // if (siginfo->si_pid == getpid()
956+ // #ifdef HOST_OSX
957+ // // On OSX si_pid is sometimes 0. It was confirmed by Apple to be expected, as the si_pid is tracked at the process level. So when multiple
958+ // // signals are in flight in the same process at the same time, it may be overwritten / zeroed.
959+ // || siginfo->si_pid == 0
960+ // #endif
961+ // )
962+ // {
963+ // PAL_LIMITED_CONTEXT palContext;
964+ // NativeContextToPalContext(context, &palContext);
965+ // g_pHijackCallback(&palContext, NULL);
966+ // //TODO: VS update conditionally, this is rare
967+ // UpdateNativeContextFromPalContext(context, &palContext);
968+ // }
969+ // else
970970 {
971971 // Call the original handler when it is not ignored or default (terminate).
972972 if (g_previousActivationHandler.sa_flags & SA_SIGINFO)
0 commit comments