waits for running asynctask instances to finish , then destroys any resources like threads . can not be used afterthis method is called . concode_field_sep ExecutorService executor concode_field_sep AsyncResult<T> submit
void function ( ) { executor . shutdown ( ) ; try { executor . awaitTermination ( Long . MAX_VALUE , TimeUnit . SECONDS ) ; } catch ( InterruptedException loc0 ) { throw new GdxRuntimeException ( "srini_string" , loc0 ) ; } }