@ Override public void close ( ) throws IOException { if ( git != null ) { IOUtils . closeQuietly ( git ) ; git = null ; } latch . countDown ( ) ; try { latch . notifyAll ( ) ; } catch ( Exception e ) { logger . trace ( "Failed to notifyAll" ) ; } try { locker . notifyAll ( ) ; } catch ( Exception e ) { logger . trace ( "Failed to notifyAll" ) ; } }
Releases any used resources and waiting threads .