summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Feed.pm7
-rw-r--r--lib/Feed/Utils.pm2
2 files changed, 9 insertions, 0 deletions
diff --git a/lib/Feed.pm b/lib/Feed.pm
index ece6724..7264638 100644
--- a/lib/Feed.pm
+++ b/lib/Feed.pm
@@ -59,6 +59,13 @@ sub BUILD {
return;
}
+sub DEMOLISH {
+
+ Log::Log4perl::MDC->put( uri => undef );
+
+ return;
+}
+
sub extract_title {
my ($self) = @_;
diff --git a/lib/Feed/Utils.pm b/lib/Feed/Utils.pm
index 48a4dc9..ab6b27b 100644
--- a/lib/Feed/Utils.pm
+++ b/lib/Feed/Utils.pm
@@ -83,6 +83,8 @@ sub feeds_from_opml {
feed(%$common_args,title=>$title,uri=>$uri);
}
+ Log::Log4perl::MDC->put( opml => undef );
+
return;
}