修改退出时关闭所有服务和连接
This commit is contained in:
@@ -9,7 +9,7 @@ namespace DMS.Infrastructure.Interfaces.Services
|
||||
/// <summary>
|
||||
/// MQTT后台服务接口,负责管理MQTT连接和数据传输
|
||||
/// </summary>
|
||||
public interface IMqttBackgroundService
|
||||
public interface IMqttBackgroundService : IDisposable
|
||||
{
|
||||
/// <summary>
|
||||
/// 启动MQTT后台服务
|
||||
|
||||
Reference in New Issue
Block a user