* @inheritDoc
()
| 132 | * @inheritDoc |
| 133 | */ |
| 134 | public close(): PromiseLike<boolean> { |
| 135 | // Clean up native log listener |
| 136 | if (this._removeNativeLogListener) { |
| 137 | this._removeNativeLogListener(); |
| 138 | this._removeNativeLogListener = undefined; |
| 139 | } |
| 140 | |
| 141 | // As super.close() flushes queued events, we wait for that to finish before closing the native SDK. |
| 142 | return super.close().then((result: boolean) => { |
| 143 | return NATIVE.closeNativeSdk().then(() => result); |
| 144 | }); |
| 145 | } |
| 146 | |
| 147 | /** |
| 148 | * Sends user feedback to Sentry. |
no test coverage detected