mirror of
https://github.com/deavmi/doap
synced 2024-07-04 15:30:09 +02:00
CoapRequestFuture
- Ensure that we set the request's state to `RequestState.COMPLETED` when `get(Duration)` completes successfully
This commit is contained in:
parent
deaebdaaed
commit
e64cf824e6
|
@ -431,6 +431,7 @@ public class CoapRequestFuture
|
|||
// Await a response
|
||||
if(this.condition.wait(timeout))
|
||||
{
|
||||
this.state = RequestState.COMPLETED;
|
||||
return this.response;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue
Block a user