sunnyman's (sunnyman) wrote in changelog,
sunnyman's
sunnyman
changelog

[livejournal] r21895: wrk context fix

Committer: vtroitsky
wrk context fix
U   branches/r91.5/cgi-bin/ljlib.pl
Modified: branches/r91.5/cgi-bin/ljlib.pl
===================================================================
--- branches/r91.5/cgi-bin/ljlib.pl	2012-05-04 15:28:39 UTC (rev 21894)
+++ branches/r91.5/cgi-bin/ljlib.pl	2012-05-04 22:34:10 UTC (rev 21895)
@@ -38,6 +38,7 @@
                       TheSchwartz::Job
                       LJ::AdTargetedInterests
                       LJ::Comment
+                      LJ::Widget::Comment
                       LJ::Knob
                       LJ::ExternalSite
                       LJ::ExternalSite::Vox
@@ -2349,8 +2350,11 @@
     LJ::Message->reset_singletons;
     LJ::Vertical->reset_singletons;
     LJ::Browse->reset_singletons;
-    LJ::Widget::Comment->clean_cache;
 
+    eval {
+        LJ::Widget::Comment->clean_cache;
+    };
+
     LJ::UniqCookie->clear_request_cache;
 
     # we use this to fake out get_remote's perception of what

Tags: livejournal, pl, sunnyman, vtroitsky
Subscribe

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments