Camera - Destructor check videoCapture null.
This commit is contained in:
@@ -28,7 +28,7 @@ namespace AIParkingApplication
|
|||||||
~Camera()
|
~Camera()
|
||||||
{
|
{
|
||||||
Stop();
|
Stop();
|
||||||
videoCapture.Dispose();
|
videoCapture?.Dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Start()
|
public void Start()
|
||||||
|
|||||||
Reference in New Issue
Block a user