Commit ac2bbee0 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 414002: Temporary files for uploaded attachments are not deleted on Windows…

Bug 414002: Temporary files for uploaded attachments are not deleted on Windows - Patch by Steve Hay <SteveHay@planit.com> r/a=LpSolit
parent 41ef98b0
......@@ -54,7 +54,10 @@ $::SIG{PIPE} = 'IGNORE';
# We need to do so, too, otherwise perl dies when the object is destroyed
# and we don't have a DESTROY method (because CGI.pm's AUTOLOAD will |die|
# on getting an unknown sub to try to call)
sub DESTROY {};
sub DESTROY {
my $self = shift;
$self->SUPER::DESTROY(@_);
};
sub new {
my ($invocant, @args) = @_;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment