Use interrupt() in our interrupt exceptions (#24)

This commit is contained in:
Peter Mitrano
2016-05-21 01:06:07 -05:00
committed by Peter Johnson
parent e14e45da76
commit f2d601d834

View File

@@ -149,6 +149,7 @@ public class DriverStation implements RobotState.Interface {
try {
m_dataSem.wait(timeout);
} catch (InterruptedException ex) {
Thread.currentThread().interrupt();
}
}
}