From 5b800932ae33e571edfdc21304c2185e17f69a38 Mon Sep 17 00:00:00 2001
From: lichao <lichao@aiotlink.com>
Date: 星期二, 27 四月 2021 17:45:41 +0800
Subject: [PATCH] add api Cleanup.

---
 src/bh_api.cpp |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/bh_api.cpp b/src/bh_api.cpp
index 7e7b2e9..efa278e 100644
--- a/src/bh_api.cpp
+++ b/src/bh_api.cpp
@@ -320,6 +320,11 @@
 	free(data);
 }
 
+int BHCleanup()
+{
+	ProcNode().Stop();
+}
+
 int BHGetLastError(void **msg, int *msg_len)
 {
 	int ec = 0;

--
Gitblit v1.8.0