]> git.sesse.net Git - vlc/commitdiff
mozilla: clear exception also in this path.
authorJean-Paul Saman <jpsaman@videolan.org>
Mon, 9 Feb 2009 22:12:32 +0000 (23:12 +0100)
committerJean-Paul Saman <jpsaman@videolan.org>
Mon, 9 Feb 2009 22:13:03 +0000 (23:13 +0100)
projects/mozilla/control/npolibvlc.cpp

index 2b43d6760da7074701b0c58b17a2edaeeb68bd21..c8ab15d928d038321a58096e60787680759d75de 100644 (file)
@@ -458,6 +458,7 @@ RuntimeNPObject::InvokeResult LibvlcInputNPObject::getProperty(int index, NPVari
             {
                 /* for input state, return CLOSED rather than an exception */
                 INT32_TO_NPVARIANT(0, result);
+                libvlc_exception_clear(&ex);
                 return INVOKERESULT_NO_ERROR;
             }
         }