[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: current problems



On Sun, Jul 12, 1998 at 12:47:06PM +0200, Kasper Peeters wrote:
> 
> > I looked up the testoil references. They refer to the interests allocated
> > by testoil. Those should be destructed by the destructor of testoil but
> > that one is never called seems. 
> 
> Also note that the create_* functions that bring a module to life
> can call 'new Interest*' (the interest OILs do this). Therefore, we
> should really also have a 'destroy_*' function for every OIL.
> I added some comments to the ObjectBroker about this, but I didn't
> yet write the required code.

Carefull here, the interests created in a interest OILs are replaced with
the actually cb interests when the oil itself is loaded (if the oil is done
right). 

Maby a better solution here would be to have the interest OIL be unloaded
entirely when the real OIL is loaded, and then let the real OIL register
what interests it wants to. That way we would no longer need the -DOIL="..."
that keep traks of which oilInterests to replace.

---------------------------------------------------------------
 Name:        Hakan Ardo
 E-Mail:      hakan@debian.org
 WWW:         http://www.ub2.lu.se/~hakan/sig.html
 Public Key:  Try "finger hakan@master.debian.org"
 Fingerprint: E9 81 FD 90 53 5C E9 3E  3D ED 57 15 1B 7E 29 F3
 Interests:   WWW, Programming, 3D graphics

 Thought for the day: As long as one understands, the
 spelling does not matter :-)
---------------------------------------------------------------

PGP signature