def unregister_window(self, win):
        if win in self.wins:
            self.wins.remove(win)
        self.update()
Remove the window from the window list
dataset/ETHPy150Open kivy/kivy/kivy/modules/__init__.py/ModuleBase.unregister_window