avm2: Make 'Loader.unloadAndStop' call 'Loader.unload'

We still need to implement the 'stop' behavior, but this should
bring us closer to matching Flash Player.
This commit is contained in:
Aaron Hill 2024-07-07 07:47:16 -04:00
parent cb8770663f
commit f0d224d88e
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ package flash.display {
public function unloadAndStop(gc:Boolean = true):void { public function unloadAndStop(gc:Boolean = true):void {
stub_method("flash.display.Loader", "unloadAndStop"); stub_method("flash.display.Loader", "unloadAndStop");
this.unload();
} }
public function close():void { public function close():void {