sweetalert2 call new popup when a popup still on page, prevent run codes after await in function

With sweetalert2 we move form a popup to other popup… without closing with any standard method before switching… just fire a new one that we need.

now I test script and see when call fire for new popup, code lines after await Swal.fire();... first function not run!

In this case we need run some code when a Swal popup is dismissed with firing new one…(dismiss without reason based on documentation)

If a popup is dismissed by Swal.close() or another popup, the Promise will be resolved with an object { isDismissed: true } (dismiss will be undefined).

if rejected and not resolved should be throw exception.isn’t it?
I test this function for example, call two time(with waiting):

async function x() {
    console.log(1111);
    await Swal.fire();
    console.log(2222);
}

I think should write log 2222 after second call but just log 1111 for second call, after acting to confirm second popup write log 2222! without error!
await Swal test result

+note: I test a promise instead of Swal. with promise correctly worked, but Swal has problem!
await Promise test result

Why did something happen?
Regardless of the version we are using, can anyone tell why this is happening?