npapi-vlc | branch: master | Jean-Baptiste Kempf <j...@videolan.org> | Sat Dec  
7 17:10:09 2013 +0100| [1544627755ed11d0623a27a543a9021985a5d4ff] | committer: 
Jean-Baptiste Kempf

Correctly destroy connections on quit

Should close #10069

> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=1544627755ed11d0623a27a543a9021985a5d4ff
---

 npapi/vlcshell.cpp |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/npapi/vlcshell.cpp b/npapi/vlcshell.cpp
index 74d9c2b..7385bc1 100644
--- a/npapi/vlcshell.cpp
+++ b/npapi/vlcshell.cpp
@@ -311,6 +311,8 @@ NPError NPP_Destroy( NPP instance, NPSavedData** )
     if( p_plugin->playlist_isplaying() )
         p_plugin->playlist_stop();
 
+    p_plugin->destroy_windows();
+
     delete p_plugin;
 
     return NPERR_NO_ERROR;

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to