CORE-6276 Corrected handler leak in app editor