Planaria and Rock Cooking

2B Reefer

New member
Well, thought I'd go BB as algae seems to have returned to my LR, not hair or anything macro, but in the rock that the snails couldn't remove.
Upon checking out the rock on removal I found what I believe to be white planaria, (Opaque white squares about 1mm in size) .
The rock is currently cooking, do you think the cooking will kill off the planaria, or should the whole batch be thrown out?