CoapRequestFuture

- Ensure that we set the request's state to `RequestState.COMPLETED` when `get(Duration)` completes successfully
This commit is contained in:
Tristan B. Velloza Kildaire 2023-09-25 14:42:37 +02:00
parent deaebdaaed
commit e64cf824e6

View File

@ -431,6 +431,7 @@ public class CoapRequestFuture
// Await a response
if(this.condition.wait(timeout))
{
this.state = RequestState.COMPLETED;
return this.response;
}
else