增加 SmartFrame 强制收回逻辑
This commit is contained in:
@@ -85,8 +85,8 @@ public static class HikSdkManager
|
||||
// 引用计数归 0 时执行物理卸载,关闭 SDK 所有隐形线程与资源
|
||||
if (_referenceCount == 0)
|
||||
{
|
||||
// [物理卸载] 释放 SDK 占用的非托管资源(如网络连接、内存缓冲区)
|
||||
HikNativeMethods.NET_DVR_Cleanup();
|
||||
//// [物理卸载] 释放 SDK 占用的非托管资源(如网络连接、内存缓冲区)
|
||||
//HikNativeMethods.NET_DVR_Cleanup();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user