This commit is contained in:
yumoqing 2020-01-10 10:02:09 +08:00
parent 24efda4487
commit 9296abdade

View File

@ -94,6 +94,8 @@ class VPlayer(FloatLayout):
def __del__(self):
print('********** delete VPlayer instance ********')
if self._video is None:
return
if self.update_task:
self.update_task.cancel()
self.update_task = None