Fix memory leak: do not use the same promise to instanciate all gadgets.
Seems the .then method never realse the memory if the original promise is kept. Manually create new promise instead each time.
1 parent e0a05c37
What exactly is the
defer_listwhich is causing the troubles? I don't understand...
P.S. Maybe comments in the code would help