-- Warning: May contain traces of nuts. _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform
While investigating the possibility of switching nsCOMArray away from
nsVoidArray it occurred to me that nsCOMArray takes steps to ensure
internal consistency before releasing removed elements; this is because
it's potentially possible for Release() to invoke arbitrary code; if
this code ends up attempting to access the original nsTArray then all
bets are off. I think we've had reentrancy bugs before so we could have
them again.
- nsTArray<nsCOMPtr<nsIFoo> > is not reentrant Neil
- Re: nsTArray<nsCOMPtr<nsIFoo> > is not reen... Jonas Sicking
- Re: nsTArray<nsCOMPtr<nsIFoo> > is not reen... Neil
- Re: nsTArray<nsCOMPtr<nsIFoo> > is not ... Jonas Sicking
- Re: nsTArray<nsCOMPtr<nsIFoo> > is not ... Neil
- Re: nsTArray<nsCOMPtr<nsIFoo> > is ... Jonas Sicking