File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed
NativeScript/runtime/modules/worker Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 4
4
// Created by Eduardo Speroni on 11/22/23.
5
5
// Copyright © 2023 Progress. All rights reserved.
6
6
7
- // #ifndef TARGET_ENGINE_V8
7
+ #ifndef TARGET_ENGINE_V8
8
8
9
9
#include " js_native_api.h"
10
10
#include " MessageJSON.h"
@@ -270,4 +270,4 @@ Message::Message(MallocedBuffer<char>&& payload)
270
270
}; // namespace worker
271
271
}; // namespace nativescript
272
272
273
- // #endif // TARGET_ENGINE_V8
273
+ #endif // TARGET_ENGINE_V8
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ BUILD_MACOS=$(to_bool ${BUILD_MACOS:=false}) # disable by default for now
31
31
VERBOSE=$( to_bool ${VERBOSE:= false} )
32
32
BUILD_MACOS_CLI=$( to_bool ${BUILD_MACOS_CLI:= false} )
33
33
EMBED_METADATA=$( to_bool ${EMBED_METADATA:= false} )
34
- CONFIG_BUILD=Debug
34
+ CONFIG_BUILD=RelWithDebInfo
35
35
CONFIG_SIMPLE=Debug
36
36
37
37
ANY_FRAMEWORK=$( to_bool ${ANY_FRAMEWORK:= false} )
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ console.log("Hello from Worker!");
3
3
globalThis . onmessage = ( e ) => {
4
4
console . log ( "Worker received message:" , e . data ) ;
5
5
const sab = e . data ;
6
- console . log ( "Worker sab:" , sab . length ) ;
7
6
const view = new Int32Array ( sab ) ;
8
7
console . log ( "Worker view[0]:" , view [ 0 ] ) ;
9
8
view [ 0 ] = 100 ;
You can’t perform that action at this time.
0 commit comments