Skip to content

Commit

Permalink
chore: fix 'Dereference of a possibly null reference.' warning (#3055)
Browse files Browse the repository at this point in the history
  • Loading branch information
mxschmitt authored Nov 19, 2024
1 parent 42e4c76 commit 7f3b888
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Playwright.NUnit/WorkerAwareTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ namespace Microsoft.Playwright.NUnit;
public class WorkerAwareTest
{
private static readonly ConcurrentStack<Worker> _allWorkers = new();
private Worker? _currentWorker = null!;
private Worker _currentWorker = null!;

internal class Worker
{
Expand Down

0 comments on commit 7f3b888

Please sign in to comment.