summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGianni Ceccarelli <dakkar@thenautilus.net>2013-12-03 14:42:35 +0000
committerGianni Ceccarelli <dakkar@thenautilus.net>2013-12-03 14:42:35 +0000
commit172e6b247052648234f360eea28f55eb30cda882 (patch)
treee511523115c3ab294d7f40ae3c29e17946de8358
parentonly load the template once (diff)
downloadHomePanel-172e6b247052648234f360eea28f55eb30cda882.tar.gz
HomePanel-172e6b247052648234f360eea28f55eb30cda882.tar.bz2
HomePanel-172e6b247052648234f360eea28f55eb30cda882.zip
::EV seems to leak timers
-rw-r--r--lib/HomePanel/Driver.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/HomePanel/Driver.pm b/lib/HomePanel/Driver.pm
index 749a958..f5a253d 100644
--- a/lib/HomePanel/Driver.pm
+++ b/lib/HomePanel/Driver.pm
@@ -1,7 +1,7 @@
package HomePanel::Driver;
use Moo;
use 5.10.0;
-use IO::Async::Loop::EV;
+use IO::Async::Loop;
use IO::Async::Timer::Periodic;
use HomePanel::AsyncUA;
use WebService::ForecastIo;
@@ -16,7 +16,7 @@ use curry::weak;
use namespace::autoclean;
has loop => ( is => 'lazy' );
-sub _build_loop { IO::Async::Loop::EV->new() }
+sub _build_loop { IO::Async::Loop->new() }
has user_agent => ( is => 'lazy' );
sub _build_user_agent {