Skip to content
Snippets Groups Projects
Commit d307532b authored by Thanh Dodeur's avatar Thanh Dodeur
Browse files

[FIX] mail: prevents crash when trying to close the audioContext

Before this commit, since https://github.com/odoo/odoo/pull/119014,
the audio context could be closed when already.

Until the implementation of AudioContext.state*, we have to catch the
error.

This commit also removes the forwarding to the destination that was
not necessary.

`* https://webaudio.github.io/web-audio-api/#widl-AudioContext-state



closes odoo/odoo#119392

Signed-off-by: default avatarSébastien Theys (seb) <seb@odoo.com>
parent 7a76eee6
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment