Ensure we unref collect node if it still exists when we come to destroy the treebuilder (this can occur if EOF is encountered when in generic_rcdata/script_collect modes). Note that the spec has since changed here, so we'll need to resync, anyway. This is simply to ensure the testsuite passes once more.
Ensure we unref collect node if it still exists when we come to destroy the treebuilder (this can occur if EOF is encountered when in generic_rcdata/script_collect modes).
Note that the spec has since changed here, so we'll need to resync, anyway.
This is simply to ensure the testsuite passes once more.

svn path=/trunk/hubbub/; revision=5374

prepare/netsurf_libhubbub,servo/libhubbub,prepare/netsurf_libhubbub,servo/libhubbub,Achal-Aggarwal/hibbub,prepare/netsurf_libhubbub,servo/libhubbub,adamwight/wmf-parsoid-libhubbub,adamwight/wmf-parsoid-libhubbub,Achal-Aggarwal/hibbub,prepare/netsurf_libhubbub,prepare/netsurf_libhubbub,Achal-Aggarwal/hibbub,adamwight/wmf-parsoid-libhubbub,servo/libhubbub,prepare/netsurf_libhubbub,adamwight/wmf-parsoid-libhubbub,servo/libhubbub,adamwight/wmf-parsoid-libhubbub,Achal-Aggarwal/hibbub