Skip to content

Revisit the "assert" routine in the JNI part #221

Closed
@atanasovg

Description

@atanasovg

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.

Refers to #180 & #196

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions