question: public static void stopContext ( Context ctx ) { synchronized ( activeContexts ) { activeContexts . remove ( ctx ) ; if ( activeContexts . isEmpty ( ) ) { syncDeinitialize ( ) ; } else { if ( instance != null && getActivity ( ) != null ) { instance . deinitialize ( ) ; } } } }
target:  Cleans up resources in the given context.  This method should be called by any Activity or Service that called startContext() when it started.