Temporary fix for camera release exception

Signed-off-by: Constantin MUSCĂ <constantin.musca@gmail.com>