On Tuesday 14 August 2007, Rolf Bode-Meyer wrote:

Dear Rolf,

> nsFunc::OnStopRunningUrl() {
>   Release();
>   return Bla();
> }
A call to Release() decreases the reference counter. An object
is destroyed only if the counter value is 0.

So, in this example the code only decreases the counter
(assuming it was increased somewhere else before). 

best regards,
Michal
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to