<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [GTK] Crash in DOMObjectCache when a wrapped object owned by the cache is unreffed by the user"
href="https://bugs.webkit.org/show_bug.cgi?id=143521#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [GTK] Crash in DOMObjectCache when a wrapped object owned by the cache is unreffed by the user"
href="https://bugs.webkit.org/show_bug.cgi?id=143521">bug 143521</a>
from <span class="vcard"><a class="email" href="mailto:cgarcia@igalia.com" title="Carlos Garcia Campos <cgarcia@igalia.com>"> <span class="fn">Carlos Garcia Campos</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=143521#c4">comment #4</a>)
<span class="quote">> (In reply to <a href="show_bug.cgi?id=143521#c3">comment #3</a>)
>
> > Also, coulnd't we completely forget about cacheReferences and simply use
> > GObject's ref_count ?
>
> I don't think we can, because if the user explicitly refs the object, we
> should not delete it.</span >
Exactly, cacheReferences only keeps track of the references owned by the cache itself. In a normal case, we just drop our refs, but users can do weird things.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>