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