-
-
Notifications
You must be signed in to change notification settings - Fork 142
Revisit the "assert" routine in the JNI part #221
Copy link
Copy link
Closed
Description
At many places within the C++ code we use either the native assert or the ASSERT_XXX macro. We need to revisit the implementation like so:
- Use the C++ assert, which is disabled for release builds
- Use conditional error handling when the Runtime needs to fail and go with the ErrorActivity routine - that is, to pass the control back to Java via the NativeScriptRuntime::AppFail method.
Reactions are currently unavailable