img-wget.pl: fix memory && thread leak, foolish mistake.
This commit is contained in:
@@ -68,6 +68,7 @@ sub hookfn {
|
||||
sleep 1 unless(defined($t));
|
||||
} unless (defined($t));
|
||||
|
||||
$t->detach();
|
||||
undef $t;
|
||||
|
||||
if ($active == 1) {
|
||||
|
||||
Reference in New Issue
Block a user