1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-12-01 04:43:29 +03:00

It's a heap, not a stack

This commit is contained in:
David Baker
2017-11-22 10:19:27 +00:00
parent a5c5da5b8a
commit bae3f5ceb7

View File

@@ -173,7 +173,7 @@ OlmDevice.prototype._getAccount = async function(func) {
let result;
await this._cryptoStore.endToEndAccountTransaction((accountData, save) => {
// Olm has a limited stack size so we must tightly control the number of
// Olm has a limited heap size so we must tightly control the number of
// Olm account objects in existence at any given time: once created, it
// must be destroyed again before we await.
const account = new Olm.Account();