• Views
  • Iteration Report
  • My Iteration Report
  •  
OMERO.server
  • Login
  • Help/Guide
  • About Trac
  • Preferences
  • Wiki
  • Timeline
  • Roadmap
  • Browse Source
  • View Tickets
  • Search

Context Navigation

  • ← Previous Change
  • Next Change →

Changeset 2597 for trunk/components/tools/OmeroPy/src/omero/__init__.py

Show
Ignore:
Timestamp:
07/05/08 22:16:06 (5 months ago)
Author:
jmoore
Message:

ticket:1018 - Fixing memory leak in solution

  • Added ome/services/messaging.xml to publish messages to child contexts
  • Fixed ordering issues SessionManagerI
  • Also:
    • Using ice_getCommunicator() if ic null in omero.client
    • Catching exceptions on session close in test.integration.library
Files:
1 modified

  • trunk/components/tools/OmeroPy/src/omero/__init__.py (modified) (1 diff)

Legend:

Unmodified
Added
Removed
  • trunk/components/tools/OmeroPy/src/omero/__init__.py

    r2595 r2597  
    219219        """ 
    220220 
    221         # If 'sf' exists we remove it. 
     221        # If 'sf' exists we remove it, but save it for the weird chance that ic is None 
     222        sf = None 
    222223        if hasattr(self, 'sf'): 
     224            sf = self.sf 
    223225            self.sf = None 
    224226 
    225227        # If 'ic' does not exist we don't have anything to do 
    226228        if not hasattr(self, 'ic') or not self.ic: 
    227             return 
     229            if sf: 
     230                self.ic = sf.ice_getCommunicator() 
     231            else: 
     232                return 
    228233 
    229234        try: 

Download in other formats:

  • Unified Diff
  • Zip Archive

Trac Powered

Powered by Trac 0.11
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/