Fixed whcFile not becoming null after project close