Fix LiveWindow attempting to start listeners on uninitialized sendables (#1463)

Additionally adds a defensive check in SendableBuilderImpl to avoid the NPE.
This commit is contained in:
Sam Carlberg
2018-12-07 22:38:22 -05:00
committed by Peter Johnson
parent 3d546428ab
commit 97ba195b88
5 changed files with 24 additions and 8 deletions

View File

@@ -208,6 +208,11 @@ class LiveWindow {
struct Impl;
std::unique_ptr<Impl> m_impl;
/**
* Updates the entries, without using a mutex or lock.
*/
void UpdateValuesUnsafe();
};
} // namespace frc