Worker Service StopAsync func never called
Open
affected-medium
area-hosting
area-networking
bug
External
Needs: Attention :wave:
severity-minor
- Dominant language
- C#
- Stars
- 38.4k
- Forks
- 10.9k
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 281
Description
### Describe the bug
I published a worker service to azure app service. when I stop the web job the worker service StopAsync is not called.
Also When we publish an update to Worker Service the StopAync not called either.
So my question is when will StopAsync will be called?
### To Reproduce
1. Publish a worker service to Azure app service( Shared D1 Plan )
2. From Azure web app > webjobs section - > stop the webjob.
3. StopAysnc is not called
### Further technical details
- .Net Core: 3.1.300
- Runtime Environment:
OS Name: Windows
OS Version: 10.0.18363
OS Platform: Windows
RID: win10-x64
Contributor guide
Assessment
This issue has not been assessed yet.