|
|
@@ -27,6 +27,8 @@ async def websocket_endpoint(websocket: WebSocket):
|
|
|
if socket_type == "websocket.disconnect":
|
|
|
device_ctrl.close_connect()
|
|
|
device_ctrl.mcu_exit = True
|
|
|
+ device_ctrl.p_list = []
|
|
|
+ device_ctrl.temp_ports_dict = {}
|
|
|
device_ctrl.clearMyInstance()
|
|
|
diviceList = blue_tooth.devices
|
|
|
if len(diviceList) == 0:
|