bug: async program in LinqPad6 (EF) doesn't wait.
.. while writing this explanation I noticed that my Async void Main() had an incorrect return type.
After changing it to Task, everything works as expected.
Could you please report it as an error when or warning (green squigly) when writing "async void Main" and suggest "async Task Main" instead ?
When doing the void' version, Linqpad executes and never waits - so the program completes, but run in the background...
1
vote
Martin Kirk
shared this idea
This is now fixed in 6.10.9