Commit ae35bf07 authored by Quxl's avatar Quxl

x

parent bf23be30
......@@ -135,9 +135,12 @@ public class HttpUtil {
out.close();
return responseBody(connection);
} catch (Exception e) {
e.printStackTrace();
throw new RuntimeException(e);
} finally {
connection.disconnect();
if(connection != null) {
connection.disconnect();
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment