mirror of
https://github.com/processing/processing4.git
synced 2026-02-11 17:40:48 +01:00
Add volatile modifier to ColorSelector.selector
This commit is contained in:
@@ -43,7 +43,7 @@ public class ColorSelector implements Tool {
|
||||
* Only create one instance, otherwise we'll have dozens of animation
|
||||
* threads going if you open/close a lot of editor windows.
|
||||
*/
|
||||
static ColorChooser selector;
|
||||
private static volatile ColorChooser selector;
|
||||
|
||||
private Editor editor;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user