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