Skip Menu |

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

Report information
The Basics
Id: 48788
Status: resolved
Worked: 10 min
Priority: 0/
Queue: POE-Component-Pluggable

People
Owner: BINGOS [...] cpan.org
Requestors: hachi [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in:
  • 1.12
  • 1.14
  • 1.16
  • 1.18
  • 1.20
  • 1.22
Fixed in: (no value)



Subject: Leaking OBJECT field in the pipeline.
POE::Component::Pluggable still leaks objects. You can't weaken something and then assign it, the magic is lost.
Subject: poe-component-pluggable-patch.txt
--- Pipeline.pm 2009-08-17 15:57:58.000000000 -0700 +++ Pipeline.pm 2009-08-17 15:58:34.000000000 -0700 @@ -10,14 +10,16 @@ sub new { my ($package, $pluggable) = @_; - weaken($pluggable); - - return bless { + my $self = bless { PLUGS => {}, PIPELINE => [], HANDLES => {}, OBJECT => $pluggable, }, $package; + + weaken($self->{OBJECT}); + + return $self; } sub push {
According to my records this was applied and released as version 1.24 1.24 Tue Aug 18 09:17:59 BST 2009 - Applied patch from Jonathan Steinert to fix RT #48788 Many thanks.