Nick
Nick
At last some information regarding why my shutdown code is not working :) Thanks @mathewc do you have information for a workaround in the mean time?
This doesn't seem to work. ``` var host = builder.Build(); var cancellationToken = new WebJobsShutdownWatcher().Token; cancellationToken.Register(async () => await host.StopAsync()); using (host) { await host.RunAsync(cancellationToken); } ```
> This doesn't seem to work. > > ``` > var host = builder.Build(); > var cancellationToken = new WebJobsShutdownWatcher().Token; > cancellationToken.Register(async () => await host.StopAsync()); > > using (host)...
Any news on this issue @fabiocav @mathewc?
> Just to be clear, there isn't any workaround to stopping a continuous web job via the azure portal? (not Kudu process kill) I can't find one.
Marfusios heads up this is a beautiful library thanks :clap:
Hi @Roblinde let me know if you have any questions. https://github.com/contentful/contentful.net/pull/303/commits/367f58684ef99bd4ac836cb0f8df60474ebb8266 is the test failure. https://github.com/contentful/contentful.net/pull/303/commits/03dff5b29075f12c2f96c06a3c8d112b00a09e5a is the fix.
Bump @Roblinde
Thanks @Roblinde.
Polite *bump* @Roblinde