diff options
| author | Chinmay <chinmay1dd@gmail.com> | 2020-06-24 15:00:09 -0700 |
|---|---|---|
| committer | Chinmay <chinmay1dd@gmail.com> | 2020-07-01 11:09:14 -0700 |
| commit | ca583f8257899ac4fda565a20d653d09a3301a2a (patch) | |
| tree | 6f63f9b53bdbd04fcf620c3cad86aaf8104caf43 /examples/print_syscalls/src | |
| parent | b26c34c32472e41f99929e698943458ceba913c3 (diff) | |
Fix native API examples to cleanly shut BN Core
Diffstat (limited to 'examples/print_syscalls/src')
| -rw-r--r-- | examples/print_syscalls/src/arm-syscall.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/print_syscalls/src/arm-syscall.cpp b/examples/print_syscalls/src/arm-syscall.cpp index 2eb5e402..4a61d3c2 100644 --- a/examples/print_syscalls/src/arm-syscall.cpp +++ b/examples/print_syscalls/src/arm-syscall.cpp @@ -113,5 +113,8 @@ int main(int argc, char *argv[]) } } + // Shutting down is required to allow for clean exit of the core + BNShutdown(); + return 0; } |
