Opened 2 years ago

Closed 2 years ago

#2490 closed defect (fixed)

Android org.cybergarage.http.HTTPSocket.close

Reported by: Meeh Owned by: Meeh
Priority: minor Milestone: 0.9.40
Component: apps/android Version: 0.9.39
Keywords: Cc:
Parent Tickets: Sensitive: no


  at org.cybergarage.http.HTTPSocket.close (
  at org.cybergarage.http.HTTPSocket.finalize (
  at java.lang.Daemons$FinalizerDaemon.doFinalize (
  at java.lang.Daemons$FinalizerDaemon.runInternal (
  at java.lang.Daemons$ (
  at (


Attachments (2)

ANRs___crashes_-_I2P_-_Google_Play_Console.png (103.7 KB) - added by Meeh 2 years ago.
ANRs___crashes_-_I2P_-_Google_Play_Console.2.png (96.9 KB) - added by Meeh 2 years ago.

Download all attachments as: .zip

Change History (5)

comment:2 Changed 2 years ago by zzz

OK, doesn't really throw, just logs. See source link line 266. We can skip the finalize on Android but if the socket still needs closing it could get caught up in a finalize anyway.

comment:3 Changed 2 years ago by zzz

Milestone: undecided0.9.40
Resolution: fixed
Status: newclosed

Replaced finalize() in HTTPSocket with try/finally in HTTPServerThread
in eb9abeaf57def7b1b04cf203f46ea80321030a78 0.9.39-11-rc

Note: See TracTickets for help on using tickets.