测试内存泄露问题
This commit is contained in:
parent
df0985bc28
commit
17b9bfc6f5
2
main.go
2
main.go
|
|
@ -125,8 +125,6 @@ func ReadConfigAndSetSystem() {
|
||||||
}
|
}
|
||||||
if isGetting == "false" && device.NextStop == false { //如果设备流已经停止且不暂停,则开启
|
if isGetting == "false" && device.NextStop == false { //如果设备流已经停止且不暂停,则开启
|
||||||
switch device.ID {
|
switch device.ID {
|
||||||
case 1:
|
|
||||||
service.Device1CurrentFrame = gocv.NewMat()
|
|
||||||
case 50:
|
case 50:
|
||||||
service.Device50CurrentFrame = gocv.NewMat()
|
service.Device50CurrentFrame = gocv.NewMat()
|
||||||
case 73:
|
case 73:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue