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/llil_parser/src | |
| parent | b26c34c32472e41f99929e698943458ceba913c3 (diff) | |
Fix native API examples to cleanly shut BN Core
Diffstat (limited to 'examples/llil_parser/src')
| -rw-r--r-- | examples/llil_parser/src/llil_parser.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/llil_parser/src/llil_parser.cpp b/examples/llil_parser/src/llil_parser.cpp index e23d32f6..db9652bd 100644 --- a/examples/llil_parser/src/llil_parser.cpp +++ b/examples/llil_parser/src/llil_parser.cpp @@ -416,5 +416,9 @@ int main(int argc, char *argv[]) printf("\n"); } + + // Shutting down is required to allow for clean exit of the core + BNShutdown(); + return 0; } |
