diff --git a/gdx/src/com/badlogic/gdx/net/NetJavaImpl.java b/gdx/src/com/badlogic/gdx/net/NetJavaImpl.java index dcba9d19c32..507be5b1bd5 100644 --- a/gdx/src/com/badlogic/gdx/net/NetJavaImpl.java +++ b/gdx/src/com/badlogic/gdx/net/NetJavaImpl.java @@ -229,8 +229,8 @@ public void run () { if (listener != null) { listener.handleHttpResponse(clientResponse); } - removeFromConnectionsAndListeners(httpRequest); } finally { + removeFromConnectionsAndListeners(httpRequest); connection.disconnect(); } } catch (final Exception e) {