Hi James, On 7/14/20 1:49 PM, James Prestwood wrote: > Restarting hostapd from python was actually leaking memory and > causing the hostapd object to stay referenced in python. The > GLib timeout in wait_for_event was the ultimate cause, but this > had no come to light because no tests restarted hostapd then > used wait_for_event. > > In addition, any use of wait_for_event after a restart would > cause an exception because the event socket was never re-attached > after hostapd restarted. > > Now we properly clean up the timeout in wait_for_event and > re-initialize the hostapd object on restart. > --- > autotests/util/hostapd.py | 39 +++++++++++++++++++++++++++++---------- > 1 file changed, 29 insertions(+), 10 deletions(-) > Both applied, thanks. Regards, -Denis