Has anyone run into an issue with Blender randomly freezing/hanging when you attempt to close while the console window is open? I can't say for sure that the console is the murder weapon, but after a lot of testing, it seems likely. I've tried disabling all non-official add-ons (including my own) with no change. I'm running into this on two Windows PCs with very different hardware.
Nothing prints out in the console when I press the Windows "x" button. It just instantly freezes and doesn't respond until I force it closed with task manager. It randomly hangs maybe once every 4-5 times I close it. Sometimes much more frequently.
I'm curious to know if this is happening to others, but mainly I'm looking for any type of solution. Maybe a way to force the console window closed before exit? I don't think it can be done with
atexit, because it never seems to get executed in my add-on before Blender locks up. If nothing else, it may be possible to create a custom hotkey that closes the console window, then requests Blender to close?