fix: sample disconnect when all the messages are sent (#1176)
Co-authored-by: Carter Tinney <carter.tinney@microsoft.com>
This commit is contained in:
Родитель
42bc6cd784
Коммит
def32f339c
|
@ -55,7 +55,7 @@ if registration_result.status == "assigned":
|
|||
device_client.send_message(msg)
|
||||
time.sleep(1)
|
||||
|
||||
# finally, disconnect
|
||||
device_client.disconnect()
|
||||
# finally, disconnect
|
||||
device_client.disconnect()
|
||||
else:
|
||||
print("Can not send telemetry from the provisioned device")
|
||||
|
|
Загрузка…
Ссылка в новой задаче