Skip to content

Commit 6d49ce7

Browse files
Do not try to request additional time on shutdown
1 parent a917c37 commit 6d49ce7

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/ServiceControl.Hosting/WindowsServiceWithRequestTimeout.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,4 @@ protected override void OnStop()
3030
RequestAdditionalTime(hostOptions.ShutdownTimeout + CancellationDuration);
3131
base.OnStop();
3232
}
33-
34-
protected override void OnShutdown()
35-
{
36-
RequestAdditionalTime(hostOptions.ShutdownTimeout + CancellationDuration);
37-
base.OnShutdown();
38-
}
3933
}

0 commit comments

Comments
 (0)