Changeset View
Changeset View
Standalone View
Standalone View
src/org/kde/kdeconnect/NetworkPacket.java
Show First 20 Lines • Show All 351 Lines • ▼ Show 20 Line(s) | 350 | public void close() { | |||
---|---|---|---|---|---|
352 | try { | 352 | try { | ||
353 | if (inputStream != null) { | 353 | if (inputStream != null) { | ||
354 | inputStream.close(); | 354 | inputStream.close(); | ||
355 | } | 355 | } | ||
356 | } catch(IOException ignored) {} | 356 | } catch(IOException ignored) {} | ||
357 | 357 | | |||
358 | try { | 358 | try { | ||
359 | if (inputSocket != null) { | 359 | if (inputSocket != null) { | ||
360 | Log.e("ERIK", "Payload: closing inputSocket"); | ||||
360 | inputSocket.close(); | 361 | inputSocket.close(); | ||
361 | } | 362 | } | ||
362 | } catch (IOException ignored) {} | 363 | } catch (IOException ignored) {} | ||
363 | } | 364 | } | ||
364 | } | 365 | } | ||
365 | } | 366 | } |