mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
Adds StopNotifier and StopRpcServer functions
Workaround for #30. Allows libraries to shut down the secondary threads.
This commit is contained in:
@@ -230,6 +230,14 @@ void StopClient() {
|
||||
Dispatcher::GetInstance().Stop();
|
||||
}
|
||||
|
||||
void StopRpcServer() {
|
||||
RpcServer::GetInstance().Stop();
|
||||
}
|
||||
|
||||
void StopNotifier() {
|
||||
Notifier::GetInstance().Stop();
|
||||
}
|
||||
|
||||
void SetUpdateRate(double interval) {
|
||||
Dispatcher::GetInstance().SetUpdateRate(interval);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user