Stop service windows

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

tropyw
Posts: 9
Joined: 23 Jul 2020, 16:52
Contact:

Stop service windows

Postby tropyw » 08 Sep 2020, 04:57

Hello,
I have a shutdown hook in my server and I want to know if I stop the service of the server is the shutdown hook getting called? or is it just stop the server like "hard shutdown".
Thanks.
Last edited by tropyw on 13 Sep 2020, 15:29, edited 1 time in total.
User avatar
Lapo
Site Admin
Posts: 21723
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Stop service windows

Postby Lapo » 08 Sep 2020, 08:59

Yes, it will be called every time the server is shutting down. Not just when you reboot the machine.

Cheers
Lapo
--
gotoAndPlay()
...addicted to flash games
tropyw
Posts: 9
Joined: 23 Jul 2020, 16:52
Contact:

Re: Stop service windows

Postby tropyw » 08 Sep 2020, 09:17

Thank you

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 20 guests