summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
2903f09)
Multiple closers can cause a crash by freeing the libaltos device twice
Signed-off-by: Keith Packard <keithp@keithp.com>
SwingUtilities.invokeLater(r);
}
SwingUtilities.invokeLater(r);
}
- private void close_serial() {
+ private synchronized void close_serial() {
synchronized (devices_opened) {
devices_opened.remove(device.getPath());
}
synchronized (devices_opened) {
devices_opened.remove(device.getPath());
}