Commit 9eee9234 authored by Daniel Williams's avatar Daniel Williams
Browse files

Tried removing the C destructor calls, as this seems not to be helping.

parent 30f6f88a
Loading
Loading
Loading
Loading
+1 −13
Original line number Diff line number Diff line
@@ -42,18 +42,6 @@ class Waveform(object):
    waveform = "Generic"
    expnum = 1
            
    def __del__(self):
        try:
            lal.DestroyREAL8Sequence(self.hp)
            lal.DestroyREAL8Sequence(self.hx)
        except:
            print "Failed to destroy hp and hx"
        try:
            lal.DestroyREAL8Sequence(self.hp0)
            lal.DestroyREAL8Sequence(self.hx0)
        except:
            print "Failed to destroy hp0 and hx0"
            
    def _clear_params(self):
        self.params = {}
        for a in lsctables.SimBurstTable.validcolumns.keys():
@@ -148,7 +136,7 @@ class Waveform(object):
        else:
            hp0, hx0 = hp, hx
        self.hp, self.hx, self.hp0, self.hx0 = hp, hx, hp0, hx0
        lalburst.DestroySimBurst(self.swig_row)
        #lalburst.DestroySimBurst(self.swig_row)

    def _row(self, sim=None, slide_id=1):
        """