- fix: spectre
- fix: Spectre tries to delete the same workflow instance twice - Fixed part of the Spectre memory leak. See gotcha.txt for details.
This commit is contained in:
parent
ac953d2043
commit
35e0a63262
10 changed files with 93 additions and 50 deletions
|
|
@ -84,6 +84,7 @@ if ($shutdown) {
|
|||
die $POE::Component::IKC::ClientLite::error unless $remote;
|
||||
my $result = $remote->post('admin/shutdown');
|
||||
die $POE::Component::IKC::ClientLite::error unless defined $result;
|
||||
$remote->disconnect;
|
||||
undef $remote;
|
||||
} elsif ($ping) {
|
||||
my $res = ping();
|
||||
|
|
@ -110,6 +111,7 @@ sub ping {
|
|||
return $POE::Component::IKC::ClientLite::error unless $remote;
|
||||
my $result = $remote->post_respond('admin/ping');
|
||||
return $POE::Component::IKC::ClientLite::error unless defined $result;
|
||||
$remote->disconnect;
|
||||
undef $remote;
|
||||
return 0 if ($result eq "pong");
|
||||
return 1;
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ checkModule("Net::Subnets",0.21);
|
|||
checkModule("Finance::Quote",1.08);
|
||||
checkModule("POE",0.3202);
|
||||
checkModule("POE::Component::IKC::Server",0.18);
|
||||
checkModule("POE::Component::Client::UserAgent", 0.06);
|
||||
checkModule("POE::Component::Client::HTTP", 0.77);
|
||||
checkModule("Data::Structure::Util",0.11);
|
||||
checkModule("Apache2::Request",2.06);
|
||||
checkModule("Cache::Memcached",1.15,2);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue