i should think it will be ok as long as you have used pasteurised or sterilised milk and if there are eggs in there then you need to make sure that the custard has been cooked through properly so i would probably bring to the boil and then simmer for a while to make sure.