[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-multimedia
Subject:    Re: konqueror & plugins using aRts
From:       Stefan Westerfeld <stefan () space ! twc ! de>
Date:       2001-06-24 7:33:48
[Download RAW message or body]

   Hi!

On Sat, Jun 23, 2001 at 11:13:50PM +0000, Rik Hemsley wrote:
> #if Neil Stevens
> 
> > For this, is reference counting really needed?  Just create one and
> > move on.  Is there ever a need to delete them and create new ones
> > later?
> 
> Yes, when unloading a library.

Besides this, the dispatcher also

 - releases resources (such as memory, sockets created in /tmp/mcop-<username>,
   connections, loaded libraries, ...)
 - outputs quite helpful debugging information about things you leaked, such
   as objects, types, data packets

in its destructor, so deleting the dispatcher at the end of the application
(or if you don't need it any longer) is usually a really good idea.

   Cu... Stefan
-- 
  -* Stefan Westerfeld, stefan@space.twc.de (PGP!), Hamburg/Germany
     KDE Developer, project infos at http://space.twc.de/~stefan/kde *-         
_______________________________________________
Kde-multimedia mailing list
Kde-multimedia@master.kde.org
http://master.kde.org/mailman/listinfo/kde-multimedia

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic