修复内存泄漏问题
This commit is contained in:
parent
1bda7c786e
commit
f734a897fd
|
|
@ -93,7 +93,7 @@ func getVideoFrame(device proto.DeviceInfo) {
|
||||||
z++
|
z++
|
||||||
err2 := frame.Close()
|
err2 := frame.Close()
|
||||||
if err2 != nil {
|
if err2 != nil {
|
||||||
fmt.Println("设备:%d 错误: 无法关闭帧", device.ID)
|
fmt.Println("设备:%d,计数z=%d, 错误: 无法关闭帧", device.ID, z)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue