From 6de72b7fe44ff6a4e68979c7a9d9049708365d0d Mon Sep 17 00:00:00 2001 From: BDisp Date: Thu, 6 Mar 2025 22:18:17 +0000 Subject: [PATCH] Fixes #3941. v2win/v2net: UICatalog full benchmark suite crashes in Dialogs scenario --- UICatalog/Scenario.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/UICatalog/Scenario.cs b/UICatalog/Scenario.cs index 860ef27207..96b4c791f7 100644 --- a/UICatalog/Scenario.cs +++ b/UICatalog/Scenario.cs @@ -180,7 +180,7 @@ public BenchmarkResults EndBenchmark () } private List? _demoKeys; - private int _currentDemoKey = 0; + private int _currentDemoKey; private void OnApplicationOnInitializedChanged (object? s, EventArgs a) { @@ -233,7 +233,6 @@ private void OnApplicationNotifyNewRunState (object? sender, RunStateEventArgs e { SubscribeAllSubviews (Application.Top!); - _currentDemoKey = 0; _demoKeys = GetDemoKeyStrokes (); Application.AddTimeout (