more spectre tweaks, but no permanent solution to memory leak
This commit is contained in:
parent
1804ac8c6e
commit
ea5108f952
3 changed files with 12 additions and 3 deletions
|
|
@ -152,8 +152,8 @@ sub new {
|
|||
object_states => [ $self => {_start=>"_start", _stop=>"_stop", "shutdown"=>"_stop", "ping"=>"ping"} ],
|
||||
args=>[["shutdown","ping"]]
|
||||
);
|
||||
$self->{_workflow} = Spectre::Workflow->new($config, $logger, $debug);
|
||||
$self->{_cron} = Spectre::Cron->new($config, $logger, $debug);
|
||||
Spectre::Workflow->new($config, $logger, $debug);
|
||||
Spectre::Cron->new($config, $logger, $debug);
|
||||
POE::Kernel->run();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -295,7 +295,7 @@ sub new {
|
|||
my $config = shift;
|
||||
my $logger = shift;
|
||||
my $debug = shift;
|
||||
my $self = {_debug=>$debug, _config=>$config, _logger=>$logger};
|
||||
my $self = {_priority1=>[], _priority2=>[], _priority3=>[], _debug=>$debug, _config=>$config, _logger=>$logger};
|
||||
bless $self, $class;
|
||||
my @publicEvents = qw(addInstance deleteInstance);
|
||||
POE::Session->create(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue