diff lib/IMPL/Config/ReferenceDescriptor.pm @ 417:3ed0c58e9da3 ref20150831

working on di container, tests
author cin
date Mon, 02 Nov 2015 01:56:53 +0300
parents cc2cf8c0edc2
children 7798345304bc
line wrap: on
line diff
--- a/lib/IMPL/Config/ReferenceDescriptor.pm	Thu Oct 29 03:50:25 2015 +0300
+++ b/lib/IMPL/Config/ReferenceDescriptor.pm	Mon Nov 02 01:56:53 2015 +0300
@@ -34,7 +34,7 @@
 sub Activate {
 	my ( $this, $context ) = @_;
 
-	$this->EnterScope( $this->_name, $this->services );
+	$context->EnterScope( $this->_name, $this->services );
 
 	my $ref = $this->reference;
 	my %opts;
@@ -51,7 +51,7 @@
 		return $context->Resolve( $ref, %opts );
 	}
 
-	$this->LeaveScope();
+	$context->LeaveScope();
 }
 
 1;