Show
Ignore:
Timestamp:
08/05/09 11:34:17 (3 years ago)
Author:
pierre
Message:

Finalize the TableIO dependency... Seems that there is also a memory leak while loading a lot of SpikeTrains? from file, one after the other, objects are not properly destroyed, and I don't know why. Need to check

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/signals/spikes.py

    r412 r415  
    139139    def __str__(self): 
    140140        return str(self.spike_times) 
     141 
     142    def __del__(self): 
     143        pass 
    141144 
    142145    def __len__(self): 
     
    822825        if len(self) > 0 and (self.t_start is None or self.t_stop is None): 
    823826            self.__calc_startstop() 
     827         
     828        del spikes 
     829 
     830    def __del__(self): 
     831        pass 
    824832 
    825833    def id_list(self):