ERIS CORE

◆ shutdownVM()

void FLASHMEM AppWren::shutdownVM ( )
inline

shutdown the VM

Definition at line 107 of file AppWren.h.

107  {
108  if(has_pop){
109  am->releasePopUp();
110  draw->disablePixelOP();
111  has_pop = false;
112  }
114  wrenFreeVM(vm);
115  if(surface_cache){
116  //delete(surface_cache);
117  //surface_cache = NULL;
118  }
119  }
AppManager * am
Definition: AppBaseClass.h:38
ILI9341_t3_ERIS * draw
Definition: AppBaseClass.h:41
bool releasePopUp()
provides an interface for apps to release pop up focus
Definition: AppManager.cpp:407
Surface * surface_cache
Definition: AppWren.h:770
void releaseWrenHandles()
release any/all Wren embedded call handles
Definition: AppWren.cpp:1651
WrenVM * vm
Definition: AppWren.h:780

References AppBaseClass::am, ILI9341_t3_ERIS::disablePixelOP(), AppBaseClass::draw, AppBaseClass::has_pop, AppManager::releasePopUp(), releaseWrenHandles(), surface_cache, and vm.

Referenced by restartVM().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: