swiftUI RotationGesture

swiftUI using RotationGesture,but function of onend don't work; function of onchange normal work. is bug?