The X button says to the programme “user wants to close the programme, do what you gotta do to finish up and close, please”. That might include completing any processes that are running, saving data, dumping cache, etc. Anything the programmer put in there. Task manager bypasses all of that and just stops the programme running instantly.
Notice how some programmes know that they weren’t shut down properly? That’s because they include a flag in the normal X button shutdown routine. If the shutdown routing wasn’t run, the flag never gets set.
Latest Answers