mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +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 {
|
dispose (): void {
|
||||||
this.logo.dispose();
|
this.logo?.dispose();
|
||||||
this.spinner.dispose();
|
this.spinner?.dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
draw (complete = false) {
|
draw (complete = false) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user