Skip to content

Commit 870808a

Browse files
committed
remove redundant code
1 parent 1875239 commit 870808a

1 file changed

Lines changed: 0 additions & 24 deletions

File tree

  • Explorer/Assets/DCL/PerformanceAndDiagnostics/Diagnostics/ReportsHandling/Sentry

Explorer/Assets/DCL/PerformanceAndDiagnostics/Diagnostics/ReportsHandling/Sentry/DclAnrIntegration.cs

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -320,30 +320,6 @@ private static void Init()
320320

321321
public static Result CollectDumpInfoFile(string targetDmpPath)
322322
{
323-
/*
324-
// procdump.exe -accepteula -mt <PID> dump.dmp
325-
326-
const string NAME = "procdump/procdump.exe";
327-
string exeFile = System.IO.Path.Combine(STREAMING_PATH, NAME);
328-
329-
int pid = Process.GetCurrentProcess().Id; // IL2CPP safe
330-
331-
string[] exeArgs = new []
332-
{
333-
"-accepteula",
334-
"-mt",
335-
pid.ToString(),
336-
targetDmpPath,
337-
};
338-
339-
int result = Plugins.DclNativeProcesses.DclProcesses.ExecuteBlocking(fileName: exeFile, args: exeArgs);
340-
if (result != -2) // -2 is a code from procdump
341-
{
342-
return Result.ErrorResult($"Cannot collect, error process code: {result}");
343-
}
344-
*/
345-
346-
// replace to internal minidump call
347323
Result result = MiniDumpNative.CollectSelfMiniDump(targetDmpPath);
348324
if (result.Success == false)
349325
{

0 commit comments

Comments
 (0)