Closed camera resources when leaving noise generator