Repro of a vanilla Xamarin.Mac app napping despite being instructed not to.
- On a Mac, open the .sln file using Visual Studio for Mac 2019.
- Hit Play, i.e., run the app in Debug mode.
- Minimise the app and cover Visual Studio (VS) with another application (not sure if it's significant but that's what I did).
- Lock the Mac, go away, do stuff for about half an hour.
- Return to your Mac, unlock, and check the Application Output panel in VS.
- There should not be a debug line reading: FFSakes Apple!
- There is.
AppDelegate.cs
is the only place in the vannila solution where I've made the relevant code edits.
OS: macOS Catalina, 10.15.4
Processor: 2.4 GHz Quad-Core Intel Core i5