Skip to content
Permalink
Browse files

Make variable clip volatile

  • Loading branch information...
danielb987 committed Oct 28, 2018
1 parent dabed27 commit 91be9d32e21d3d076de71c68233cf4ccd7f24818
Showing with 1 addition and 1 deletion.
  1. +1 −1 java/src/jmri/jmrit/Sound.java
@@ -42,7 +42,7 @@
private final URL url;
private boolean streaming = false;
private boolean streamingStop = false;
private Clip clip = null;
private volatile Clip clip = null;
private boolean autoClose = true;
private final Object lock = new Object();
private final static Logger log = LoggerFactory.getLogger(Sound.class);

0 comments on commit 91be9d3

Please sign in to comment.
You can’t perform that action at this time.