diff --git a/Desktop/Wayland/XdgScreenCastHandler.cs b/Desktop/Wayland/XdgScreenCastHandler.cs index e994dfd..134db76 100644 --- a/Desktop/Wayland/XdgScreenCastHandler.cs +++ b/Desktop/Wayland/XdgScreenCastHandler.cs @@ -129,7 +129,7 @@ private async Task CreateSessionAsync() }, false); - await _screenCast.CreateSessionAsync(options); + var _ = _screenCast.CreateSessionAsync(options); long val; while ((val = Interlocked.Read(ref state)) <= 0) @@ -188,7 +188,7 @@ private async Task SelectSourcesAsync() }, false); - await _screenCast.SelectSourcesAsync(_sessionPath!, options); + var _ = _screenCast.SelectSourcesAsync(_sessionPath!, options); long val; var waited = 0; @@ -283,7 +283,7 @@ private async Task StartCaptureAsync() }, false); - await _screenCast.StartAsync(_sessionPath!, "", options); + var _ = _screenCast.StartAsync(_sessionPath!, "", options); long val; while ((val = Interlocked.Read(ref state)) <= 0)