chore: fix 'Dereference of a possibly null reference.' warning (#3055)
This commit is contained in:
Родитель
42e4c76f03
Коммит
7f3b8884ef
|
@ -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
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче