sourcebots / robot-api

(Legacy) API to interface with robotd
http://docs.sourcebots.co.uk/api/
MIT License
4 stars 1 forks source link

Collect the board lists only when needed #80

Closed PeterJCLaw closed 6 years ago

PeterJCLaw commented 6 years ago

This ensures that they actually contain the lists of boards at this point, thus ensuring that we properly close off the boards.

Note: while it might be assumed that this could be done upfront, we reassign the self.known*boards attributes when adding boards, meaning that the upfront collection will only reflect the initial (empty) lists.

Note: the issues this fixes is also resolved by #79, though I think we still want this change for clarity.