update bug:on exit not release camera
update code