How to detect when application terminates?

前端 未结 5 796
我寻月下人不归
我寻月下人不归 2020-12-07 14:52

This is a follow up to my initial question and I would like to present my findings and ask for corrections, ideas and insights. My findings (or rather interpretations) come

5条回答
  •  不知归路
    2020-12-07 15:17

    Prompted by ssg31415926's question/answer (this question is a bit reversed), there's also Application.SessionEnding which is called when the when the user logs off or shuts down. It is called before the Exit event.

提交回复
热议问题