79570948

Date: 2025-04-12 21:20:24
Score: 1.5
Natty:
Report link

The lifetime of the inner event loop loop is the existence of MainWindow, which is essentially the lifetime of the application. What if you put your inner loop in some object that you can make go away, for example a button that gets created and then destroyed? Then I bet you would see that that inner loop stops handling events and the main loop does again.

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: JG Miller