FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add volatile modifier to ColorSelector.selector · unexCoder/processing@cd23a32 · GitHub

Repository navigation

Commit cd23a32

Browse files
committed
Add volatile modifier to ColorSelector.selector
1 parent 2ae0b0e commit cd23a32

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎app/src/processing/app/tools/ColorSelector.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public class ColorSelector implements Tool {
4343
* Only create one instance, otherwise we'll have dozens of animation
4444
* threads going if you open/close a lot of editor windows.
4545
*/
46-
static ColorChooser selector;
46+
private static volatile ColorChooser selector;
4747

4848
private Editor editor;
4949

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL