mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-28 02:11:43 +00:00
Use interrupt() in our interrupt exceptions (#24)
This commit is contained in:
committed by
Peter Johnson
parent
e14e45da76
commit
f2d601d834
@@ -149,6 +149,7 @@ public class DriverStation implements RobotState.Interface {
|
||||
try {
|
||||
m_dataSem.wait(timeout);
|
||||
} catch (InterruptedException ex) {
|
||||
Thread.currentThread().interrupt();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user