Commits

Shlomi Fish committed e421244

Correct a bug.

$_[KERNEL]->stop() was wrong. Thanks to dngor from Freenode's #perl.

Comments (0)

Files changed (1)

perl-downloader/perl-downloader.pl

         {
             close ($heap->{common}->{fh});
             delete($heap->{common}->{fh});
-            $_[KERNEL]->stop();
+            $_[KERNEL]->post(ua => 'shutdown');
         }
     }
 }