From 93c08f2fcdf2773dcde607e8643ef8fd14def794 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Tue, 24 Dec 2019 13:06:09 +0800 Subject: [PATCH] bugfix --- kivyblocks/vplayer.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kivyblocks/vplayer.py b/kivyblocks/vplayer.py index 7e317cf..2088ced 100644 --- a/kivyblocks/vplayer.py +++ b/kivyblocks/vplayer.py @@ -167,6 +167,8 @@ class VPlayer(FloatLayout): def beforeDestroy(self): try: self.pause() + del self._video + except Exception as e: print_exc() return True