updated doxygen for Object::Dispose (bug 1086)
authorNicola Baldo <nbaldo@cttc.es>
Thu, 31 Mar 2011 12:58:05 +0200
changeset 6988 3f0d3324cbc5
parent 6987 96575369d9e7
child 6989 651f74728160
updated doxygen for Object::Dispose (bug 1086)
src/core/model/object.h
--- a/src/core/model/object.h	Thu Mar 31 12:51:49 2011 +0200
+++ b/src/core/model/object.h	Thu Mar 31 12:58:05 2011 +0200
@@ -120,8 +120,10 @@
    * objects aggregated to it.
    * After calling this method, the object is expected to be
    * totally unusable except for the Ref and Unref methods.
-   * It is an error to call Dispose twice on the same object 
-   * instance.
+   *
+   * Note that you can call Dispose many times on the same object or
+   * different objects aggregated together, and DoDispose will be
+   * called only once for each aggregated object.  
    *
    * This method is typically used to break reference cycles.
    */