Skip Menu |

This queue is for tickets about the POE-Loop-Glib CPAN distribution.

Report information
The Basics
Id: 49742
Status: resolved
Priority: 0/
Queue: POE-Loop-Glib

People
Owner: Nobody in particular
Requestors: RCAPUTO [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.037
Fixed in: (no value)



Subject: POE::Kernel->run() doesn't return immed. if no sessions
% perl -wle 'use Glib;use POE "Loop::Glib";alarm(5);POE::Kernel->run()' zsh: alarm perl -wle 'use Glib; use POE "Loop::Glib"; alarm(5); POE::Kernel->run()' In other words, POE::Kernel->run() doesn't return right away, even though no sessions have been created.
On Wed Sep 16 11:01:04 2009, RCAPUTO wrote: Show quoted text
> % perl -wle 'use Glib;use POE "Loop::Glib";alarm(5);POE::Kernel->run()' > zsh: alarm perl -wle 'use Glib; use POE "Loop::Glib"; alarm(5); > POE::Kernel->run()' > > In other words, POE::Kernel->run() doesn't return right away, even > though no sessions have been created.
I can verify this happens here too. apoc@blackhole:~$ POE_EVENT_LOOP="Glib" perl -MPOE -e 1 apoc@blackhole:~$ POE_EVENT_LOOP="Glib" perl -MPOE -e 'POE::Kernel->run' ^C apoc@blackhole:~$ I pressed ctrl+c after a minute - the process wasn't pegging the cpu - it was just idling... Please let me know if you want me to dig into this further or to do extra tests :) -- ~Apocalypse
Hi, PoLo-GLib v0.038 on CPAN fixes this bug. Thanks! -- ~Apocalypse