mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-22 01:11:40 +00:00
Fix videomode change on pipeline change, more memory leak hunting
This commit is contained in:
@@ -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.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user