Create a handler for sleeping and resume events.

Comment below rating threshold, click here to show it.


Senior Member


Currently if you sleep and resume with league of legends still on:
a) you disconnect, and can't do anything
b) you have to go to the task manager to close the program because logging off hangs.

What I think should happen, upon sleep you logout to the login screen, and be happy.