- Fixed memory leak with closure