mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 14:24:53 +08:00
Fixed dispose() error when called before init
This commit is contained in:
parent
775c3c16de
commit
0e5d9a7162
@ -70,8 +70,8 @@ export class LoadingScreen implements Disposable {
|
||||
}
|
||||
}
|
||||
dispose (): void {
|
||||
this.logo.dispose();
|
||||
this.spinner.dispose();
|
||||
this.logo?.dispose();
|
||||
this.spinner?.dispose();
|
||||
}
|
||||
|
||||
draw (complete = false) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user