diff --git a/samples/Samples.ConsoleCore/Program.cs b/samples/Samples.ConsoleCore/Program.cs index 2c827a31..99b1d8b5 100644 --- a/samples/Samples.ConsoleCore/Program.cs +++ b/samples/Samples.ConsoleCore/Program.cs @@ -59,7 +59,9 @@ public static async Task TestAsync() } } - mp?.Stop(); + await mp!.StopAsync(); + WriteLine(MiniProfiler.Current.RenderPlainText()); + } public static void TestMultiThreaded()