There is multiple issues here.
1. Applications do not exit in release mode
2. AutoTrim does not work inside of Angle
2. might be related to applications not closing.
Suspend is happening inside qwinrtintegration, but the exit itself does not happen. This is either due to the suspend handler in angle not being invoked or something else.