I am working on GUI application with tkinter. When I click in the corner on Button [X] GUI application is closed, but console application is still running.
How to make when I closed GUI application in same time is closed console application.
I am trying with sys.exit()
but this not worked.