1

img-wget.pl: fix memory && thread leak, foolish mistake.

This commit is contained in:
eleksir
2017-11-22 23:25:42 +03:00
parent ae25d16f49
commit edfd12c070

View File

@@ -68,6 +68,7 @@ sub hookfn {
sleep 1 unless(defined($t)); sleep 1 unless(defined($t));
} unless (defined($t)); } unless (defined($t));
$t->detach();
undef $t; undef $t;
if ($active == 1) { if ($active == 1) {