summaryrefslogtreecommitdiffstats
path: root/installer/OpenSLX/OSSetup/Packager
diff options
context:
space:
mode:
authorOliver Tappe2009-06-09 20:05:47 +0200
committerOliver Tappe2009-06-09 20:05:47 +0200
commit4a683e74a6afd9896df3c32b9d9d334e4599f7d3 (patch)
tree1513b6f3aac3d803f22022401cc470d97d45d796 /installer/OpenSLX/OSSetup/Packager
parent* fixed pretty stupid bug that involved mixed use of bufferd/non-buffered IO (diff)
downloadcore-4a683e74a6afd9896df3c32b9d9d334e4599f7d3.tar.gz
core-4a683e74a6afd9896df3c32b9d9d334e4599f7d3.tar.xz
core-4a683e74a6afd9896df3c32b9d9d334e4599f7d3.zip
* fixed a whole lot of circular references which I found when researching #451
* some minor cleanups along the way git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2944 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'installer/OpenSLX/OSSetup/Packager')
-rw-r--r--installer/OpenSLX/OSSetup/Packager/Base.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/installer/OpenSLX/OSSetup/Packager/Base.pm b/installer/OpenSLX/OSSetup/Packager/Base.pm
index 747ba7e4..af600b8b 100644
--- a/installer/OpenSLX/OSSetup/Packager/Base.pm
+++ b/installer/OpenSLX/OSSetup/Packager/Base.pm
@@ -18,6 +18,8 @@ use warnings;
our $VERSION = 1.01; # API-version . implementation-version
+use Scalar::Util qw( weaken );
+
use OpenSLX::Basics;
################################################################################
@@ -34,6 +36,9 @@ sub initialize
my $engine = shift;
$self->{'engine'} = $engine;
+ weaken($self->{'engine'});
+ # avoid circular reference between packager and its engine
+
return;
}