Leaving meeting

I am facing the issues, when i want to leave meeting i am getting error:


I am using this method to leave meeting:

async leaveMeeting() {
if (this.videoClient$.getSessionInfo().isInMeeting !this.isLeaving) {
this.isLeaving = true;
try {
await this.videoClient$.leave();
} finally {
this.isLeaving = false;

also i have weird bug, as was suggested i implemented zone-flag.ts file in my angular project, but navigation is not working now, returns warning:

navigation happens outside angular zone. which brokes components