add assertion.
git-svn-id: svn://10.0.0.236/trunk@241899 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
0d0a1c333d
commit
649bf8c3d1
@ -68,6 +68,10 @@ class NS_COM_GLUE nsTObserverArray_base {
|
||||
: mIterators(nsnull) {
|
||||
}
|
||||
|
||||
~nsTObserverArray_base() {
|
||||
NS_ASSERTION(mIterators == nsnull, "iterators outlasting array");
|
||||
}
|
||||
|
||||
/**
|
||||
* Adjusts iterators after an element has been inserted or removed
|
||||
* from the array.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user