Tiger.Api/ApiWebHostService.cs
@@ -7,6 +7,7 @@ using Rhea.Common; using Tiger.IBusiness; using System.ServiceProcess; using Tiger.Api.DbCache; namespace Tiger.Api { @@ -55,9 +56,10 @@ //关闭服务总线 DI.Resolve<IServicesBus>().StopServices(); //关闭DB缓存自动更新 DI.Resolve<IDbCacheBus>().StopAutoUpdate(); //DI.Resolve<IDbCacheBus>().StopAutoUpdate(); DbCacheBus.StopAutoUpdate(); //MQTTHelper.MQTTConn?.Close(); base.OnStopping(); base.OnStopping(); } catch (System.Exception ex) {