Skip to content
This repository was archived by the owner on Nov 4, 2020. It is now read-only.

Commit 84141db

Browse files
committed
Mark CustomContext#useTimeout volatile.
1 parent 10035cb commit 84141db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/org/eclipsescript/javascript/CustomContextFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ static class CustomContext extends Context {
1818
public JavascriptRuntime jsRuntime;
1919

2020
long startTime;
21-
boolean useTimeout = true;
21+
volatile boolean useTimeout = true;
2222

2323
public CustomContext(ContextFactory factory) {
2424
super(factory);

0 commit comments

Comments
 (0)