Why my simple python MDI app suddenly crashed while closing sub window I made below MDI app thanks to AIs. enter image description here