mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-03 20:49:27 +00:00
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:
parent
6b0ed86249
commit
df6bd7a3a6
@ -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(@_);
|
||||
|
Loading…
x
Reference in New Issue
Block a user