Удаление асинхронного результата
This commit is contained in:
@@ -137,10 +137,13 @@ namespace mROA.Implementation.Frontend
|
|||||||
var resultType = result switch
|
var resultType = result switch
|
||||||
{
|
{
|
||||||
FinalCommandExecution => MessageType.FinishedCommandExecution,
|
FinalCommandExecution => MessageType.FinishedCommandExecution,
|
||||||
AsyncCommandExecution => MessageType.AsyncCommandExecution,
|
|
||||||
ExceptionCommandExecution => MessageType.ExceptionCommandExecution,
|
ExceptionCommandExecution => MessageType.ExceptionCommandExecution,
|
||||||
_ => MessageType.Unknown
|
_ => MessageType.Unknown
|
||||||
};
|
};
|
||||||
|
if (resultType == MessageType.Unknown)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
_representationModule!.PostCallMessage(request.Id, resultType, result, result.GetType());
|
_representationModule!.PostCallMessage(request.Id, resultType, result, result.GetType());
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -20,7 +20,6 @@ namespace mROA.Implementation
|
|||||||
Unknown,
|
Unknown,
|
||||||
FinishedCommandExecution,
|
FinishedCommandExecution,
|
||||||
ExceptionCommandExecution,
|
ExceptionCommandExecution,
|
||||||
AsyncCommandExecution,
|
|
||||||
CallRequest,
|
CallRequest,
|
||||||
IdAssigning,
|
IdAssigning,
|
||||||
CancelRequest,
|
CancelRequest,
|
||||||
|
|||||||
Reference in New Issue
Block a user