Skip to content

Commit def32f3

Browse files
fix: sample disconnect when all the messages are sent (#1176)
Co-authored-by: Carter Tinney <carter.tinney@microsoft.com>
1 parent 42bc6cd commit def32f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

samples/sync-samples/provision_symmetric_key.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
device_client.send_message(msg)
5656
time.sleep(1)
5757

58-
# finally, disconnect
59-
device_client.disconnect()
58+
# finally, disconnect
59+
device_client.disconnect()
6060
else:
6161
print("Can not send telemetry from the provisioned device")

0 commit comments

Comments
 (0)