Task #2772 (closed)
Opened 14 years ago
Closed 14 years ago
Bug: OMSC.initialize leaks omero.client objects
Reported by: | jamoore | Owned by: | jamoore |
---|---|---|---|
Priority: | minor | Milestone: | OMERO-Beta4.2.1 |
Component: | Import | Version: | n.a. |
Keywords: | n.a. | Cc: | |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | 0.0d |
Sprint: | n.a. |
Description
#initialize(String, String, String, int, long, boolean) creates an omero.client and then (if the boolean is false) immediately overwrites it, without cleaning up the other instance:
c = new client(server, port); c.setAgent("OMERO.importer"); serviceFactory = c.createSession(username, password); if (!isSecure) { log.info("Insecure connection requested, falling back"); c = c.createClient(false); serviceFactory = c.getSession(); }
See: http://lists.openmicroscopy.org.uk/pipermail/ome-users/2010-September/002431.html
Change History (4)
comment:1 Changed 14 years ago by jmoore
- Type changed from User Story to Task
comment:2 Changed 14 years ago by jmoore
- Remaining Time set to 0.25
comment:3 Changed 14 years ago by jmoore
- Owner set to jmoore
- Status changed from new to assigned
comment:4 Changed 14 years ago by jmoore
- Remaining Time changed from 0.25 to 0
- Resolution set to fixed
- Status changed from assigned to closed
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
(In [7910]) Fixing dangling clients which close import sessions (See #2804, Fix #2772, #2803)