Commit ea518aef authored by David Faure's avatar David Faure

ResourceBase: explain what the resource should do in doSetOnline(false)

Otherwise one can get
ASSERT failure "Calling items retrieval methods although no item retrieval is in progress"
parent 6dd93871
......@@ -658,6 +658,9 @@ protected:
/**
* Inherited from AgentBase.
*
* When going offline, the scheduler aborts the current task, so you should
* do the same in your resource, if the task implementation is asynchronous.
*/
void doSetOnline(bool online);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment