@@ -31,6 +31,13 @@ namespace CallCenterApi.Interface
// _worker.AddWork(ZhengWuDuiJie);
// _worker.Start();
}
+ protected void Application_End()
+ {
+ if (_worker != null)
+ _worker.Stop();
+ }
protected void Application_AuthenticateRequest(object sender, EventArgs e)
{