mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-27 02:01:42 +00:00
Merge "Prevent double free in DigitalGlitchFilter"
This commit is contained in:
@@ -45,6 +45,7 @@ public class DigitalGlitchFilter extends SensorBase {
|
||||
synchronized(m_mutex) {
|
||||
m_filterAllocated[m_channelIndex] = false;
|
||||
}
|
||||
m_channelIndex = -1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user