|
From: Maxime <ma...@ta...> - 2016-03-23 09:19:55
|
Fred, Thank you for reporting this issue. How long does your service need to shutdown cleanly? It seems that "WaitToKillServiceTimeout" has not effect on recent versions of Windows (or is limited to a value which is too low for your application to shutdown correctly). Currently the Wrapper does not handle the SERVICE_CONTROL_SHUTDOWN control code but we are studying the possibility to implement it in our next release. Best Regards, Maxime On Mon, Mar 21, 2016 at 8:06 PM, Fredrik <fre...@ho...> wrote: > Hi. > I have a problem that Windows doesn't wait for my service to shutdown > cleanly when shutting down/restarting Windows (tested on Windows Server > 2012 R2). > Windows only waits a short amount of time before simply killing the > service which results in an unclean shutdown. > I've done some research that Windows sends SERVICE_CONTROL_PRESHUTDOWN > control-code before shutting down the OS. > Is it possible to get this control code via the wrapper or do you have any > other suggestions as how to handle this case. > I've also tried to set the "WaitToKillServiceTimeout" in the registry > without any luck. > > Regards > Fred > > > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140 > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > |