question: public static void deinitialize ( ) { INSTANCE . codenameOneRunning = false ; synchronized ( lock ) { lock . notifyAll ( ) ; } }
target:  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!