fixed memory leak while releasing long time loop effect