()
| 79 | } |
| 80 | |
| 81 | handleDisconnect() { |
| 82 | this.clearPort(); |
| 83 | this.#reply?.forEach(({reject}) => reject({message: 'The Mailvelope service worker was shutdown after 30s of inactivity. Please try again.', code: 'INTERNAL_ERROR'})); |
| 84 | this.#reply = null; |
| 85 | this.#replyCount = 0; |
| 86 | } |
| 87 | |
| 88 | clearPort() { |
| 89 | this._port = null; |