Skip Menu |

This queue is for tickets about the POE-Component-IKC CPAN distribution.

Report information
The Basics
Id: 44104
Status: resolved
Priority: 0/
Queue: POE-Component-IKC

People
Owner: Nobody in particular
Requestors: acferen [...] yahoo.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.2002
Fixed in: 0.2002



Subject: IKC fails if some POE debug is enabled
sub POE::Kernel::ASSERT_DEFAULT () { 1 } sub POE::Kernel::CATCH_EXCEPTIONS () { 1 } sub POE::Session::ASSERT_STATES () { 1 } will cause IKC to fail (Channel.pm(line 533) and Client.pm(line 145)). Easily reproduced by adding the above lines to the client app at http://poe.perl.org/?POE_Cookbook/Inter_Kernel_Communique Wrapping the offending lines with if ( defined $kernel->alias_resolve('IKC') ) { #... } fixes the problem.
Short answer : DON'T DO THAT! Longer answer : as of 0.2101, IKC::Channel will not post to IKC::Responder if it has been shutdown. The Cookbook has been updated so that it also doesn't post to IKC after shutdown.