fix memory leak in HogwildWorker (#19956)
fix memory leak in HogwildWorker (#19956)

fix memory leak in HogwildWorker,  whose ops are  explicitly deleted in destructor
luotao1/Paddle,PaddlePaddle/Paddle,luotao1/Paddle,luotao1/Paddle,chengduoZH/Paddle,chengduoZH/Paddle,PaddlePaddle/Paddle,chengduoZH/Paddle,PaddlePaddle/Paddle,chengduoZH/Paddle,luotao1/Paddle,PaddlePaddle/Paddle,luotao1/Paddle,PaddlePaddle/Paddle,luotao1/Paddle,PaddlePaddle/Paddle,luotao1/Paddle,chengduoZH/Paddle,PaddlePaddle/Paddle