File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -89,8 +89,10 @@ class MetaObjectGraveyardVector : public MetaObjectVector
8989 {
9090 // Make sure not to access the pointer value in the static variable of `getMetaObjectGraveyard()
9191 // when destroying `meta_object` in the unique_ptr deleter. Because the static variable in
92- // `getMetaObjectGraveyard()` could be finalized before the static variable
92+ // `getMetaObjectGraveyard()` can be destructed before the static variable
9393 // `g_register_plugin_ ## UniqueID` in some circumstances.
94+ // NOTE of the vector dtor in the STL: if the elements themselves are pointers, the pointed-to
95+ // memory is not touched in any way. Managing the pointer is the user's responsibility.
9496 clear ();
9597 }
9698};
You can’t perform that action at this time.
0 commit comments