mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-19 10:05:05 -07:00
emscripten: setting Module.TOTAL_MEMORY doesn't do anything
This commit is contained in:
parent
07b4176eca
commit
82696ef8c4
@ -95,9 +95,6 @@ if [ "$DIST" = yes ]; then
|
||||
root = window;
|
||||
}
|
||||
}
|
||||
if (typeof root['sodium'] === 'object' && typeof root['sodium']['totalMemory'] === 'number') {
|
||||
Module['TOTAL_MEMORY'] = root['sodium']['totalMemory'];
|
||||
}
|
||||
var _Module = Module;
|
||||
Module.ready = new Promise(function(resolve, reject) {
|
||||
var Module = _Module;
|
||||
|
Loading…
Reference in New Issue
Block a user