static void _ResetTTS(Args _args) { while (appl.ttsLevel() > 0) { info( strfmt("Level %1 aborted" ,appl.ttsLevel())); ttsAbort; } }
read more on https://community.dynamics.com/ax/b/daxbeginners/archive/2014/05/12/unbalanced-x-ttsbegin-ttscommit.aspx
i had to restart my AOS after that.