Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

Detect when EG is Exiting? (Autoexit?)

If you have a question or need help, this is the place to be.
Post Reply
KickAss
Posts: 2
Joined: Tue Aug 26, 2014 9:43 am

Detect when EG is Exiting? (Autoexit?)

Post by KickAss »

Like the Autostart, is there a Autoexit event? I want perform some actions before EG exits.
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: Detect when EG is Exiting? (Autoexit?)

Post by Pako »

KickAss wrote:Like the Autostart, is there a Autoexit event? I want perform some actions before EG exits.
You can use the event Main.OnClose.
It is designed for that purpose.
However, the equivalent for start is Main.OnInit, not Autostart.

Pako
KickAss
Posts: 2
Joined: Tue Aug 26, 2014 9:43 am

Re: Detect when EG is Exiting? (Autoexit?)

Post by KickAss »

@Pako

Perfect! Works just as I needed. Thank you.
Post Reply