[#3028] Generate safe track event with end.