Bug 1298676 - part 3 - disable I/O interposition when manually taking crashdumps; r=ted.mielczarek

This commit is contained in:
Nathan Froyd 2017-01-10 16:31:25 -05:00
parent 0ac6ef352e
commit 7a57664f39

View File

@ -4015,6 +4015,8 @@ bool TakeMinidump(nsIFile** aResult, bool aMoveToPending)
if (!GetEnabled())
return false;
AutoIOInterposerDisable disableIOInterposition;
xpstring dump_path;
#ifndef XP_LINUX
dump_path = gExceptionHandler->dump_path();
@ -4054,6 +4056,8 @@ CreateMinidumpsAndPair(ProcessHandle aTargetPid,
return false;
}
AutoIOInterposerDisable disableIOInterposition;
#ifdef XP_MACOSX
mach_port_t targetThread = GetChildThread(aTargetPid, aTargetBlamedThread);
#else