Thanks for reporting the telent AP issue. I've fixed it, it will be pushed with today's update.
del sys.modules['my_module'] does free the heap.
sys.modules.pop("my_module") does not. The method actually returns the module object, so you should execute:
Code: Select all
mdl = sys.modules.pop("my_module")
del mdl
@pythoncoder
Thanks for the hint. Maybe I could add the reload function it to the automatically generated boot.py.