File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -17,9 +17,7 @@ var workerID = 0;
1717if ( ENVIRONMENT_IS_PTHREAD ) {
1818#if ! MINIMAL_RUNTIME
1919 var wasmPromiseResolve ;
20- var wasmPromiseReject ;
2120#endif
22- var receivedWasmModule ;
2321
2422#if ENVIRONMENT_MAY_BE_NODE
2523 // Node.js support
@@ -66,7 +64,7 @@ if (ENVIRONMENT_IS_PTHREAD) {
6664
6765#if ! MINIMAL_RUNTIME
6866 Module [ 'instantiateWasm' ] = ( info , receiveInstance ) => {
69- return new Promise ( ( resolve , reject ) => {
67+ return new Promise ( ( resolve ) => {
7068 wasmPromiseResolve = ( module ) => {
7169 // Instantiate from the module posted from the main thread.
7270 // We can just use sync instantiation in the worker.
@@ -81,7 +79,6 @@ if (ENVIRONMENT_IS_PTHREAD) {
8179#endif
8280 resolve ( ) ;
8381 } ;
84- wasmPromiseReject = reject ;
8582 } ) ;
8683 }
8784#endif
You can’t perform that action at this time.
0 commit comments