means that
one should not celebrate or declare success before all the danger or difficulty has been overcome.
("halloo" means to shout or yell in a boisterous way.)
For example, you should not consider a problem solved until it is completely resolved, you shuld not exult untill all danger or difficulty is past This is a situation where “Don't halloo till you are out of the wood” applies.