Browse Source

内存优化

fly 8 months ago
parent
commit
19ce47ab2b
1 changed files with 11 additions and 0 deletions
  1. 11 0
      URMManage/URMProcess.cs

+ 11 - 0
URMManage/URMProcess.cs

@@ -595,6 +595,17 @@ namespace WingAIDiagnosisService.URMManage
                     Logger.WriteLineWarn(ex.ToString());
                 }
             }
+            if (videoColorTable != null)
+            {
+                try
+                {
+                    videoColorTable.Dispose();
+                }
+                catch (Exception ex)
+                {
+                    Logger.WriteLineWarn(ex.ToString());
+                }
+            }
         }
     }
 }