Task #9561 (closed)
Call close on Cmd callbacks etc
| Reported by: | wmoore | Owned by: | wmoore |
|---|---|---|---|
| Priority: | major | Milestone: | OMERO-4.4.4 |
| Component: | Web | Version: | n.a. |
| Keywords: | n.a. | Cc: | cxallan, cneves, jamoore |
| Resources: | n.a. | Referenced By: | n.a. |
| References: | n.a. | Remaining Time: | n.a. |
| Sprint: | 2012-09-11 (4) |
Description
Josh: Either the handle or a callback holding the handle must be closed. This is made a bit tricky in the webclient. Handle is proxy object, which can be string-ified and re-created later. You don't want to call before you're completely finished with it. The close(bool) method on CmdCallback? will call close on the handle if you pass True.
Change History (2)
comment:1 Changed 7 years ago by wmoore
- Resolution set to fixed
- Status changed from new to closed
comment:2 Changed 7 years ago by Will Moore <will@…>
(In [b687b68eeb1344675db8ae5313ff0307f29e5c6e/ome.git] on branch develop) Call close on chgrp callback. See #9561
We already call close on the scripts callback, although we don't do close(False) since
this is not a omero.cmd.HandlePrx?
Call close on the chgrp callback: See https://github.com/openmicroscopy/openmicroscopy/pull/342 (scripts and delete were already calling close).