ClearDelegate() no longer neccesary

This commit is contained in:
2023-03-31 07:17:53 +02:00
parent 97e8468ec2
commit 196b3c5feb

View File

@@ -21,26 +21,10 @@ namespace Password_Manager
{
ProcessFailed?.Invoke(e);
}
ClearDelegate()
}
public string? GetOutput(string procName, string args)
{
ProcessFinished -= p;
}
}
if (ProcessFailed != null)
{
foreach (ProcessFailure p in ProcessFailed)
{
ProcessFailed -= p;
}
}
}
public static string? GetOutput(string procName, string args)
{
try
{
Process proc = new Process()
@@ -71,8 +55,6 @@ namespace Password_Manager
ProcessFailed.Invoke(e);
}
ClearDelegate();
return null;
}
}