fix #40171: Crash in ~ScoreView() fixed