feat ui: fixing OR-465 cleanup crash

This commit is contained in:
nick-delirium 2024-05-07 16:14:36 +02:00
parent 318edb3b16
commit 81fdca2d33
No known key found for this signature in database
GPG key ID: 93ABD695DF5FDBA0

View file

@ -208,7 +208,7 @@ export default class WebPlayer extends Player {
clean = () => {
super.clean()
this.screen.clean()
this.screen?.clean?.()
// @ts-ignore
this.screen = undefined;
this.messageLoader.clean()