With ArmA 3 cutscenes you can simply use endmission to end them, no need to make variable which you set true and destroy camera.
endMission "END1";
Or was it this:
"end1" call BIS_fnc_endMission;