public static void deinitialize(){
  INSTANCE.codenameOneRunning=false;
synchronized (lock) {
    lock.notifyAll();
  }
}

public static void deinitialize ( ) { INSTANCE . codenameOneRunning = false ; synchronized ( lock ) { lock . notifyAll ( ) ; } }
closes down the edt and codename one , under normal conditions this method is completely unnecessary since exiting the application will shut down codename one . however , if the application is minimized and the user wishes to free all resources without exiting the application then this method can be used . once this method is used codename one will no longer work and display . init ( object ) should be invoked again for any further codename one call ! notice that minimize ( being a codename one method ) must be invoked before invoking this method !
