matrix-js-sdk
a39b1203 - Add guards against `MatrixClient.stopClient` calls (#3913)

Commit
2 years ago
Add guards against `MatrixClient.stopClient` calls (#3913) If we call methods on `OlmMachine` after `MatrixClient.stopClient` is called, we will end up with a "use of moved value" error. We can turn these into something more useful with judicious use of `getOlmMachineOrThrow`. Alternatively, we can sidestep the issue by bailing out sooner.
Author
Parents
Loading