[libbread-board-perl] 23/66: Make containers created from parameterized containers reference their parents non-weakly
Jonas Smedegaard
js at alioth.debian.org
Sun Sep 29 21:23:34 UTC 2013
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository libbread-board-perl.
commit e1dcb7577d25797d66c63b30800305fce539ca52
Author: Florian Ragwitz <rafl at debian.org>
Date: Sun Jul 21 13:46:36 2013 -0700
Make containers created from parameterized containers reference their parents non-weakly
Their parent won't have a reference to them - it only has a reference to the
parameterized container they were created from.
---
lib/Bread/Board/Container/FromParameterized.pm | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/lib/Bread/Board/Container/FromParameterized.pm b/lib/Bread/Board/Container/FromParameterized.pm
index 0c81f49..1ebd0dd 100644
--- a/lib/Bread/Board/Container/FromParameterized.pm
+++ b/lib/Bread/Board/Container/FromParameterized.pm
@@ -3,6 +3,10 @@ use Moose;
extends 'Bread::Board::Container';
+has '+parent' => (
+ weak_ref => 0,
+);
+
__PACKAGE__->meta->make_immutable;
no Moose; 1;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libbread-board-perl.git
More information about the Pkg-perl-cvs-commits
mailing list