зеркало из https://github.com/mozilla/pjs.git
change the constructor to be a service instance constructor only, so that if descendants are also services, we don't leak the world through having a circular reference to the app.
This commit is contained in:
Родитель
b3deb9a596
Коммит
d33dcc06e3
|
@ -44,7 +44,7 @@ sub protocol {
|
|||
$self->notImplemented(); # this must be overriden by descendants
|
||||
}
|
||||
|
||||
sub init {
|
||||
sub serviceInstanceInit {
|
||||
my $self = shift;
|
||||
my($app) = @_;
|
||||
$self->SUPER::init(@_);
|
||||
|
|
Загрузка…
Ссылка в новой задаче