diff --git a/dist-build/emscripten.sh b/dist-build/emscripten.sh index 3f5d8ded..8ff63f9d 100755 --- a/dist-build/emscripten.sh +++ b/dist-build/emscripten.sh @@ -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;