You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks to Sam Piper for articulating the problem in this topic. He states that BackgroundJobServer.Stop method is non-blocking, and he wants to have the blocking one to be able to wait for the stop before shutting down the application.
The Stop method is non-blocking, and the Dispose is blocking. And the following pages of the documentation give us a wrong vision:
Thanks to Sam Piper for articulating the problem in this topic. He states that
BackgroundJobServer.Stop
method is non-blocking, and he wants to have the blocking one to be able to wait for the stop before shutting down the application.The
Stop
method is non-blocking, and theDispose
is blocking. And the following pages of the documentation give us a wrong vision:Processing background jobsProcessing jobs in a web applicationProcessing jobs in a Windows ServiceThe OWIN shutdown method is also incorrect a bit, it calls the
Stop
method instead ofDispose
.The text was updated successfully, but these errors were encountered: