Fix videomode change on pipeline change, more memory leak hunting

This commit is contained in:
Banks Troutman
2019-12-01 12:23:09 -05:00
parent a24e633ceb
commit afbd3cadc8
3 changed files with 6 additions and 4 deletions

View File

@@ -258,6 +258,7 @@ public class VisionProcess {
try {
streamFrameQueue.clear();
streamFrameQueue.add(lastPipelineResult.outputMat);
camFrame.release();
} catch (Exception e) {
Debug.printInfo("Vision running faster than stream.");
}