Skip to content

Commit 35879d2

Browse files
committed
Fix build cause by maven and some dependencies on linux
1 parent 25fba6c commit 35879d2

3 files changed

Lines changed: 37 additions & 0 deletions

File tree

coverage-report/pom.xml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -811,6 +811,24 @@
811811
<version>${netty.version}</version>
812812
</dependency>
813813

814+
<dependency>
815+
<groupId>io.netty</groupId>
816+
<artifactId>netty-transport</artifactId>
817+
<version>${netty.version}</version>
818+
</dependency>
819+
820+
<dependency>
821+
<groupId>io.netty</groupId>
822+
<artifactId>netty-resolver</artifactId>
823+
<version>${netty.version}</version>
824+
</dependency>
825+
826+
<dependency>
827+
<groupId>io.netty</groupId>
828+
<artifactId>netty-codec</artifactId>
829+
<version>${netty.version}</version>
830+
</dependency>
831+
814832
<dependency>
815833
<groupId>com.impossibl.pgjdbc-ng</groupId>
816834
<artifactId>pgjdbc-ng</artifactId>

jooby-netty/pom.xml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,24 @@
4343
</dependency>
4444

4545
<!-- Netty -->
46+
<dependency>
47+
<groupId>io.netty</groupId>
48+
<artifactId>netty-transport</artifactId>
49+
<version>${netty.version}</version>
50+
</dependency>
51+
52+
<dependency>
53+
<groupId>io.netty</groupId>
54+
<artifactId>netty-resolver</artifactId>
55+
<version>${netty.version}</version>
56+
</dependency>
57+
58+
<dependency>
59+
<groupId>io.netty</groupId>
60+
<artifactId>netty-codec</artifactId>
61+
<version>${netty.version}</version>
62+
</dependency>
63+
4664
<dependency>
4765
<groupId>io.netty</groupId>
4866
<artifactId>netty-codec-http</artifactId>

jooby/src/main/java/org/jooby/internal/WebSocketImpl.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,7 @@ private void handleErr(final Throwable cause) {
300300
}
301301

302302
private void cleanup(final Throwable cause) {
303+
open = false;
303304
NativeWebSocket lws = ws;
304305
this.ws = null;
305306
this.injector = null;

0 commit comments

Comments
 (0)