From ca583f8257899ac4fda565a20d653d09a3301a2a Mon Sep 17 00:00:00 2001 From: Chinmay Date: Wed, 24 Jun 2020 15:00:09 -0700 Subject: Fix native API examples to cleanly shut BN Core --- examples/mlil_parser/src/mlil_parser.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'examples/mlil_parser/src/mlil_parser.cpp') diff --git a/examples/mlil_parser/src/mlil_parser.cpp b/examples/mlil_parser/src/mlil_parser.cpp index d73df2bc..3d0101b5 100644 --- a/examples/mlil_parser/src/mlil_parser.cpp +++ b/examples/mlil_parser/src/mlil_parser.cpp @@ -357,5 +357,9 @@ int main(int argc, char *argv[]) printf("\n"); } + + // Shutting down is required to allow for clean exit of the core + BNShutdown(); + return 0; } -- cgit v1.3.1