Code

call GC::request_early_collection() after switching preview images