summaryrefslogtreecommitdiff
path: root/lib/Devel/SelfStubber.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Devel/SelfStubber.pm')
-rw-r--r--lib/Devel/SelfStubber.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Devel/SelfStubber.pm b/lib/Devel/SelfStubber.pm
index 9009d69c9a..baf46dcb5a 100644
--- a/lib/Devel/SelfStubber.pm
+++ b/lib/Devel/SelfStubber.pm
@@ -58,6 +58,7 @@ sub stub {
push(@AFTER_DATA,$line);
}
}
+ close($fh);
unless ($JUST_STUBS) {
print @BEFORE_DATA;
}