Browse Source

Merge branch 'master' of http://192.168.1.222:3000/duhongyu/Anyang_api

duhongyu 4 years ago
parent
commit
e607d35c3b

+ 7 - 0
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Global.asax.cs

31
           //  _worker.AddWork(ZhengWuDuiJie);
31
           //  _worker.AddWork(ZhengWuDuiJie);
32
           //  _worker.Start();
32
           //  _worker.Start();
33
         }
33
         }
34
+        protected void Application_End()
35
+        {
36
+            if (_worker != null)
37
+            {
38
+                _worker.Stop();
39
+            }
40
+        }
34
 
41
 
35
         protected void Application_AuthenticateRequest(object sender, EventArgs e)
42
         protected void Application_AuthenticateRequest(object sender, EventArgs e)
36
         {
43
         {