mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
Implements AutoCloseable for types, replacing free() (#1048)
This commit is contained in:
committed by
Peter Johnson
parent
a2ecb1027a
commit
cbaff52850
@@ -116,7 +116,7 @@ public class PIDTest extends AbstractComsSetup {
|
||||
public void tearDown() throws Exception {
|
||||
logger.fine("Teardown: " + me.getType());
|
||||
m_controller.disable();
|
||||
m_controller.free();
|
||||
m_controller.close();
|
||||
m_controller = null;
|
||||
me.reset();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user