This commit is contained in:
JustArchi
2017-08-15 14:30:59 +02:00
parent 1727492e07
commit 141673409f

View File

@@ -132,6 +132,10 @@ namespace ArchiSteamFarm {
return;
}
// New process might want to start IPC before we in fact close
// Ensure that IPC is stopped before Process.Start()
IPC.Stop();
string executableName = Path.GetFileNameWithoutExtension(ProcessFileName);
IEnumerable<string> arguments = Environment.GetCommandLineArgs().Skip(executableName.Equals(SharedInfo.AssemblyName) ? 1 : 0);