This addresses the issue described in 83719fba1a. First process all queued self_delete() requests before scheduling Editor::redisplay_track_views() which uses PRIORITY_DEFAULT.
83719fba1a