Skip to content
This repository has been archived by the owner on Aug 3, 2024. It is now read-only.

Commit

Permalink
fix pw popups on DEs where dbus calls are blocking
Browse files Browse the repository at this point in the history
  • Loading branch information
galister committed Jan 29, 2024
1 parent a7f2ccf commit 5753e57
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Desktop/Wayland/XdgScreenCastHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ private async Task<bool> CreateSessionAsync()
},
false);

await _screenCast.CreateSessionAsync(options);
var _ = _screenCast.CreateSessionAsync(options);

long val;
while ((val = Interlocked.Read(ref state)) <= 0)
Expand Down Expand Up @@ -188,7 +188,7 @@ private async Task<bool> SelectSourcesAsync()
},
false);

await _screenCast.SelectSourcesAsync(_sessionPath!, options);
var _ = _screenCast.SelectSourcesAsync(_sessionPath!, options);

long val;
var waited = 0;
Expand Down Expand Up @@ -283,7 +283,7 @@ private async Task<bool> StartCaptureAsync()
},
false);

await _screenCast.StartAsync(_sessionPath!, "", options);
var _ = _screenCast.StartAsync(_sessionPath!, "", options);

long val;
while ((val = Interlocked.Read(ref state)) <= 0)
Expand Down

0 comments on commit 5753e57

Please sign in to comment.