GNOME Bugzilla – Bug 79782
htmldocument finalize() emits signals
Last modified: 2004-12-22 21:47:04 UTC
html_document_finalize() calls html_document_clear (), which results in signals being emitted from the DOM as nodes are removed. This results in warnings from glib about ref counts. I think it needs to disconnect the listener signals from the DOM before clearing the document.
Do you have a test case for this so I can reproduce the problem?
I have seen this problem while investigating bug 97567.
I have moved the removals of the signals to before removing the nodes in the DOM in html_document_clear().
*** Bug 87567 has been marked as a duplicate of this bug. ***