ClearDelegate() no longer neccesary
This commit is contained in:
@@ -21,25 +21,9 @@ 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
|
||||
{
|
||||
@@ -71,8 +55,6 @@ namespace Password_Manager
|
||||
ProcessFailed.Invoke(e);
|
||||
}
|
||||
|
||||
ClearDelegate();
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user