Created
January 27, 2016 15:50
-
-
Save jamadam/b608cf5ad73c190bde03 to your computer and use it in GitHub Desktop.
Minimum reproduction code for '(in cleanup) Can't use an undefined value as a symbol reference at lib/Mojo/Asset/File.pm line 43 during global destruction.'
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use strict; | |
use warnings; | |
use Mojo::IOLoop; | |
use Mojo::Asset::File; | |
my @files; | |
my $id; | |
$id = Mojo::IOLoop->recurring(0, sub { | |
my $file = Mojo::Asset::File->new; | |
$file->add_chunk(''); | |
push(@files, $file); | |
Mojo::IOLoop->stop if $#files > 3; | |
}); | |
Mojo::IOLoop->start; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment