We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c233703 commit 9712c09Copy full SHA for 9712c09
src/library_fetch.js
@@ -12,11 +12,12 @@ var LibraryFetch = {
12
#else
13
$Fetch__postset: 'Fetch.staticInit();',
14
#endif
15
- fetch_work_queue: '{{{ makeStaticAlloc(12) }}}',
+ $fetchWorkQueue: '0',
16
$Fetch: Fetch,
17
- _emscripten_get_fetch_work_queue__deps: ['fetch_work_queue'],
+ _emscripten_get_fetch_work_queue__deps: ['$fetchWorkQueue'],
18
_emscripten_get_fetch_work_queue: function() {
19
- return _fetch_work_queue;
+ if (!fetchWorkQueue) fetchWorkQueue = _malloc(12);
20
+ return fetchWorkQueue;
21
},
22
_emscripten_fetch_get_response_headers_length: _fetch_get_response_headers_length,
23
_emscripten_fetch_get_response_headers: _fetch_get_response_headers,
0 commit comments