Commit 8481a6cd authored by tongzifang's avatar tongzifang

断连

parent 8def92ab
...@@ -75,7 +75,12 @@ object SunmiScaleKit : ScaleBaseKit() { ...@@ -75,7 +75,12 @@ object SunmiScaleKit : ScaleBaseKit() {
override fun disconnect() { override fun disconnect() {
if (isScaleSuccess()) {
stopReadData()
mScaleManager?.onDestroy()
mScaleManager = null
Log.v(TAG, "disconnect")
}
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment