Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

small bug with the Device Explorer tool UpdateTwinAsync is not awaited #64

Closed
ukluk opened this issue Mar 3, 2017 · 3 comments
Closed
Assignees
Labels
CSS enhancement New feature or request.

Comments

@ukluk
Copy link

ukluk commented Mar 3, 2017

On class DeviceTwinAndMethod
Line 82:
registryManager.UpdateTwinAsync(dp.DeviceId, dp, dp.ETag);

UpdateTwinAsync not awaited. There is a delay for one second, but if there is a problem it will not be catched.

change to:
await registryManager.UpdateTwinAsync(dp.DeviceId, dp, dp.ETag);

@tameraw
Copy link
Contributor

tameraw commented Mar 3, 2017

@ukluk - Please submit a PR and we'll review it. Thanks.

@tameraw tameraw added the enhancement New feature or request. label Mar 3, 2017
@ukluk
Copy link
Author

ukluk commented Mar 7, 2017 via email

@asergaz
Copy link
Contributor

asergaz commented Apr 10, 2017

Hello @ukluk ,

I see that you managed to do the change :).
I am closing this issue.

All Best

@asergaz asergaz closed this as completed Apr 10, 2017
anushprabhu pushed a commit to anushprabhu/azure-iot-sdk-csharp that referenced this issue Sep 13, 2018
CIPop pushed a commit to CIPop/azure-iot-sdk-csharp that referenced this issue Oct 5, 2018
CIPop pushed a commit to CIPop/azure-iot-sdk-csharp that referenced this issue Oct 8, 2018
CIPop pushed a commit to CIPop/azure-iot-sdk-csharp that referenced this issue Oct 9, 2018
CIPop pushed a commit to CIPop/azure-iot-sdk-csharp that referenced this issue Oct 9, 2018
CIPop added a commit that referenced this issue Oct 9, 2018
* Merge pull request #66 from Azure/alextolp/setcompletedsync

Setting CompletedSynchronously everywhere

* Provisioning MQTT transport using the ExecutorTaskScheduler.

* Device MQTT transport using the ExecutorTaskScheduler.

* Removing ConcurrentObjectPool.

* Merge pull request #63 from Azure/ravokkar/tpmamqpws-tracing

Add client side tracing to the TPM over AMQP/WS scenario

* Merge pull request #64 from Azure/alextolp/amqpsyncfix

AMQP - handle sync completion

* Merge pull request #65 from Azure/alextolp/amqpwsaddlogs

Add logs for amqp ws tpm

* Fixing synchronous completions for AMQP.

* Adding test execution note.

* Changing build order of netfx.
brycewang-microsoft pushed a commit that referenced this issue Jul 14, 2022
update code (1 place) and comments to reference service shared access…
brycewang-microsoft pushed a commit that referenced this issue Jul 15, 2022
update code (1 place) and comments to reference service shared access…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CSS enhancement New feature or request.
Projects
None yet
Development

No branches or pull requests

3 participants