Hi!

Looks like $ua->ioloop->stop doesn't have any effect:

$ time perl -Mojo -E 'app->ua->get("google.com",sub{shift->ioloop->stop}); 
Mojo::IOLoop->start'

real    0m21.112s
user    0m0.170s
sys     0m0.007s

Mojo::IOLoop->stop does work:

$ time perl -Mojo -E 'app->ua->get("google.com",sub{Mojo::IOLoop->stop}); 
Mojo::IOLoop->start'
    (in cleanup) Can't call method "remove" on an undefined value at 
/usr/lib64/perl5/vendor_perl/5.18.2/Mojo/UserAgent.pm line 82 during global 
destruction.

real    0m0.410s
user    0m0.149s
sys     0m0.016s

Any ideas why $ua->ioloop->stop doesn't work?

-- 
                        WBR, Alex.

-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to