|
From: | Martin Braun |
Subject: | Re: [Discuss-gnuradio] Top block trash not cleaning up where it used to. File sink not writing in some instances. |
Date: | Sun, 05 Jan 2014 10:05:16 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 |
On 01/03/2014 11:01 PM, Miguel Duarte wrote: > The proposed solution was using detector1.wait() and detector1 = None > after stopping the flowgraph. I very vaguely remember something like this... Try this: Put the whole thing into an extra function, and assign the tb there, like: def run_one_instance(): d = detector() d.start() time.sleep(x) d.stop() return I think this does the garbage collection differently. Tell us what happened! MB
[Prev in Thread] | Current Thread | [Next in Thread] |