wasp: Manager: Fix the capture of the post-init free RAM
Fixes: b59a5b1d37
("wasp: Manager: Rewrite the startup logic")
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
This commit is contained in:
parent
b59a5b1d37
commit
586507753b
1 changed files with 2 additions and 2 deletions
|
@ -144,6 +144,8 @@ class Manager():
|
|||
self._scheduling = False
|
||||
|
||||
def secondary_init(self):
|
||||
global free
|
||||
|
||||
if not self.app:
|
||||
# Register default apps if main hasn't put anything on the quick ring
|
||||
if not self.quick_ring:
|
||||
|
@ -242,8 +244,6 @@ class Manager():
|
|||
def switch(self, app):
|
||||
"""Switch to the requested application.
|
||||
"""
|
||||
global free
|
||||
|
||||
if self.app:
|
||||
if 'background' in dir(self.app):
|
||||
try:
|
||||
|
|
Loading…
Reference in a new issue