Make crashhandler somewhat more stable, support multi boxing maybe?

This commit is contained in:
Ottermandias 2024-03-21 20:27:55 +01:00
parent c55d6966cd
commit f3ceb9034e
8 changed files with 105 additions and 61 deletions

View file

@ -12,7 +12,7 @@ public class CrashHandler
try
{
using var reader = new GameEventLogReader();
using var reader = new GameEventLogReader(pid);
var parent = Process.GetProcessById(pid);
using var handle = parent.SafeHandle;
parent.WaitForExit();