File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -3460,16 +3460,6 @@ addToLibrary({
3460
3460
} ,
3461
3461
#endif // MINIMAL_RUNTIME
3462
3462
3463
- $safeSetTimeout__deps : [ '$callUserCallback' ] ,
3464
- $safeSetTimeout__docs : '/** @param {number=} timeout */' ,
3465
- $safeSetTimeout : ( func , timeout ) = > {
3466
- { { { runtimeKeepalivePush( ) } } }
3467
- return setTimeout ( ( ) => {
3468
- { { { runtimeKeepalivePop ( ) } } }
3469
- callUserCallback ( func ) ;
3470
- } , timeout ) ;
3471
- } ,
3472
-
3473
3463
$asmjsMangle : ( x ) => {
3474
3464
var unmangledSymbols = { { { buildStringArray ( WASM_SYSTEM_EXPORTS ) } } } ;
3475
3465
if ( x == '__main_argc_argv' ) {
Original file line number Diff line number Diff line change @@ -11,6 +11,16 @@ LibraryJSEventLoop = {
11
11
throw 'unwind' ;
12
12
} ,
13
13
14
+ $safeSetTimeout__deps : [ '$callUserCallback' ] ,
15
+ $safeSetTimeout__docs : '/** @param {number=} timeout */' ,
16
+ $safeSetTimeout : ( func , timeout ) => {
17
+ { { { runtimeKeepalivePush ( ) } } }
18
+ return setTimeout ( ( ) => {
19
+ { { { runtimeKeepalivePop ( ) } } }
20
+ callUserCallback ( func ) ;
21
+ } , timeout ) ;
22
+ } ,
23
+
14
24
// Just like setImmediate but returns an i32 that can be passed back
15
25
// to wasm rather than a JS object.
16
26
$setImmediateWrapped : ( func ) => {
You can’t perform that action at this time.
0 commit comments