@@ -61,6 +61,8 @@ export class BorderedLoader extends Container {
|
|||||||
dispose(): void {
|
dispose(): void {
|
||||||
if ("dispose" in this.loader && typeof this.loader.dispose === "function") {
|
if ("dispose" in this.loader && typeof this.loader.dispose === "function") {
|
||||||
this.loader.dispose();
|
this.loader.dispose();
|
||||||
|
} else if ("stop" in this.loader && typeof this.loader.stop === "function") {
|
||||||
|
this.loader.stop();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user