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