conemu-inside
conemu-inside copied to clipboard
Compiler warning VSTHRD110
The compiler (of the .NET SDK 6.0.402) warns about:
https://github.com/Maximus5/conemu-inside/blob/13ecc261550d147f35d1037aa124013dce5dc8c3/ConEmuWinForms/ConEmuControl.cs#L87
warning VSTHRD110: Observe the awaitable result of this method call by awaiting it, assigning to a variable, or passing it to another method.
Just assign the returned Task
instance to _
?
Tough if this background task throws an exception, the application will be killed regardless if it has registered for AppDomain.CurrentDomain.UnhandledException
.
(I have not checked the code whether that task handles all exceptions.)