public void Dispose() { var tempList = new List <MmalDownstreamComponent>(MmalBootstrapper.DownstreamComponents); tempList.ForEach(c => c.Dispose()); _camera.Dispose(); BcmHost.Uninitialize(); }