ensure destruction of kioslave

Waldo Bastian bastian at kde.org
Tue Sep 16 08:53:58 BST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 16 September 2003 01:10, Leo Savernik wrote:
> Hello,
>
> How can I ensure that a kioslave is disposed after a job has been finished,
> and that for each job a new instance is created, i. e. that a kioslave
> never becomes idle but is deleted instead? Looking at KIO::Scheduler I
> can't find any method to achieve that. I need this for, you probably
> guessed it, data urls.

If Slave::isAlive() returns false they won't be reused. You can use Slave::
kill() to set it to false.

Cheers,
Waldo
- -- 
bastian at kde.org -=|[ SuSE, The Linux Desktop Experts ]|=- bastian at suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE/ZsGWN4pvrENfboIRAj5oAJ0dmN0n3PlHg5lV41XUd6H3bCQgywCfdClm
qs4csHmm9qH7qVF4xe2acP4=
=aKKQ
-----END PGP SIGNATURE-----




More information about the kfm-devel mailing list