Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9bb0b68

Browse files
committed
Properly close test HttpServer,closeAsyncHttpClient#1434
1 parent583ec6f commit9bb0b68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎client/src/test/java/org/asynchttpclient/testserver/HttpServer.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ public void reset() {
119119

120120
@Override
121121
publicvoidclose()throwsIOException {
122-
if (server==null) {
122+
if (server!=null) {
123123
try {
124124
server.stop();
125125
}catch (Exceptione) {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp