For some reason, that I wasn't able to find yet, the Dispose function of the client is somehow blocked / won't exit.
It doesn't matter If I run the code in a unit test or a console application.
I'm using a using statement, just like in the sample code. The code runs fine. I implemented a couple of functions to work with the Ikea Gateway.
But as soon as my code hits the end of the using statement, it will just run forever.
I also tried the example code from the wiki and I have the same behavior. So that could serve as my example code for the issue. But if I could provide any more details that can help you fix that, please let me know.
I'm using a MacBook Pro with Big Sur 11.2.3 and .NET 5 (5.0.102).
For some reason, that I wasn't able to find yet, the Dispose function of the client is somehow blocked / won't exit.
It doesn't matter If I run the code in a unit test or a console application.
I'm using a
usingstatement, just like in the sample code. The code runs fine. I implemented a couple of functions to work with the Ikea Gateway.But as soon as my code hits the end of the using statement, it will just run forever.
I also tried the example code from the wiki and I have the same behavior. So that could serve as my example code for the issue. But if I could provide any more details that can help you fix that, please let me know.
I'm using a MacBook Pro with Big Sur 11.2.3 and .NET 5 (5.0.102).