增加 SmartFrame 强制收回逻辑
This commit is contained in:
@@ -22,6 +22,11 @@ public static class GlobalPipelineRouter
|
||||
/// </summary>
|
||||
public static void Enqueue(long deviceId, SmartFrame frame, FrameDecision decision)
|
||||
{
|
||||
// Optimized: [原因] 撤回冗余的 AddRef。实测发现 ProcessingPipeline.TrySubmit
|
||||
// 内部已包含 AddRef 逻辑,此处若再加会导致引用计数无法归零,进而撑爆帧池导致卡死。
|
||||
|
||||
frame.AddRef();
|
||||
|
||||
if (_currentProcessor != null)
|
||||
{
|
||||
// 场景 A: 有处理器 (如缩放服务) -> 改道进入处理器
|
||||
|
||||
Reference in New Issue
Block a user