commit | 29168c6dff62a65db4586c6e120b7055c9344bcd | [log] [download] |
---|---|---|
author | Dave Borowitz <dborowitz@google.com> | Wed Apr 16 12:08:23 2014 -0700 |
committer | Dave Borowitz <dborowitz@google.com> | Thu Apr 17 16:45:43 2014 -0700 |
tree | ba3658c643b331d81662f53eb79520dc3a7e3ffc | |
parent | af5e4abe2fe60aee0f720254443c070d848e32b3 [diff] |
Add ArchiveFormat.unregisterAll() method Users of JGit's archive package are supposed to unregister archive formats when they're done with them. Since formats in Gitiles are created/registered in the static initializer of ArchiveFormat, they will stick around for the lifetime of the Gitiles classloader, but may still need to be unloaded if a caller knows Gitiles itself is going to be unloaded. Change-Id: I4c098f5a21749571f49a49b23615f281886adc3d