服务端的TigerApi 框架,基于.NET6 2024 版本
Rodney Chen
2025-03-14 906a6021decf8c7b0cbd745c24d54dd114b08dfe
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)
            {