On 31-03-2011 10:44, [email protected] wrote:
> Revision: 52620
>           http://firebird.svn.sourceforge.net/firebird/?rev=52620&view=rev
> Author:   alexpeshkoff
> Date:     2011-03-31 13:44:22 +0000 (Thu, 31 Mar 2011)
> 
> Log Message:
> -----------
> Remove reference counting where not appropriate
> 
IMO situation of bogus release method and interaction with StackIface
was just changed for an also bogus dispose method. Why do classes
created and deleted by the engine, and only passed for plugins must
implement a bogus disposable?

All these changed classes completely lost they versioning numberings,
making impossible to do future upgrades. Version number is good for all
classes, and I see no relation of this to reference counters like it's
current done.

Is this a refcounter hell starting? Constructor gets a reference to an
object, release it and then use it later?
GetPlugins(...)
        : ...,
          pluginSet(pluginInterface->getPlugins(...))
{
        pluginSet->release();
        getPlugin();
}


Adriano

------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to