30.03.2011 21:45, Vlad Khorsun wrote: >> What would do a detach/commit/etc in an object when refcount> 1? > > Call corresponding method of real object. And not touch refcount. > >> What would do a detach/commit/etc in an object when refcount = 1? > > Same as above.
Sorry for ignorance, but why refcount is not decremented in these cases? I mean, what is the point in requiring an extra release() call if the user has explicitly stated that he no longer needs an object. Note that we don't require an explicit addRef() call when the object gets created. Dmitry ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel