bugfix
This commit is contained in:
parent
24efda4487
commit
9296abdade
@ -94,6 +94,8 @@ class VPlayer(FloatLayout):
|
|||||||
|
|
||||||
def __del__(self):
|
def __del__(self):
|
||||||
print('********** delete VPlayer instance ********')
|
print('********** delete VPlayer instance ********')
|
||||||
|
if self._video is None:
|
||||||
|
return
|
||||||
if self.update_task:
|
if self.update_task:
|
||||||
self.update_task.cancel()
|
self.update_task.cancel()
|
||||||
self.update_task = None
|
self.update_task = None
|
||||||
|
Loading…
Reference in New Issue
Block a user