We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent efb2ebf commit 7a9d373Copy full SHA for 7a9d373
core/src/main/java/org/nanohttpd/protocols/http/ServerRunnable.java
@@ -44,13 +44,13 @@
44
*/
45
public class ServerRunnable implements Runnable {
46
47
- private NanoHTTPD httpd;
+ private final NanoHTTPD httpd;
48
49
private final int timeout;
50
51
- private IOException bindException;
+ private volatile IOException bindException;
52
53
- private boolean hasBinded = false;
+ private volatile boolean hasBinded = false;
54
55
public ServerRunnable(NanoHTTPD httpd, int timeout) {
56
this.httpd = httpd;
0 commit comments