fix leak of editors from color scheme preview (RUBY-3550)