Добавление препроцессора для очистки консоли

This commit is contained in:
2025-02-25 22:38:53 +03:00
parent d1a4d6f97e
commit c36e768210
15 changed files with 61 additions and 30 deletions
+6 -1
View File
@@ -42,7 +42,9 @@ namespace mROA.Implementation
cancellationToken.Register(async () =>
{
#if TRACE
Console.WriteLine("Cancelling task");
#endif
await _representationModule.PostCallMessageAsync(request.Id, MessageType.CancelRequest,
new CancelRequest
{
@@ -92,7 +94,9 @@ namespace mROA.Implementation
cancellationToken.Register(async () =>
{
#if TRACE
Console.WriteLine("Cancelling task");
#endif
await _representationModule.PostCallMessageAsync(request.Id, MessageType.CancelRequest,
new CancelRequest
{
@@ -106,8 +110,9 @@ namespace mROA.Implementation
errorResponse, successResponse
}, cancellationToken);
#if TRACE
Console.WriteLine($"Handling message");
#endif
if (successResponse.IsCompletedSuccessfully)
return;