[vlc-devel] commit: mozilla: clear exception also in this path. (Jean-Paul Saman )

git version control git at videolan.org
Mon Feb 9 23:23:04 CET 2009


vlc | branch: master | Jean-Paul Saman <jpsaman at videolan.org> | Mon Feb  9 23:12:32 2009 +0100| [5f78e89869b09affa682f6a6dc11ca0226137f1f] | committer: Jean-Paul Saman 

mozilla: clear exception also in this path.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5f78e89869b09affa682f6a6dc11ca0226137f1f
---

 projects/mozilla/control/npolibvlc.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/projects/mozilla/control/npolibvlc.cpp b/projects/mozilla/control/npolibvlc.cpp
index 2b43d67..c8ab15d 100644
--- a/projects/mozilla/control/npolibvlc.cpp
+++ b/projects/mozilla/control/npolibvlc.cpp
@@ -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;
             }
         }




More information about the vlc-devel mailing list