[Jslib] Uninstall UI

Karsten Düsterloh mnenhy at tprac.de
Sat Dec 6 04:29:19 EST 2003


Pete Collins aber hob zu reden an und schrieb:
> I think the solution is using nsIZIpReaderCache to get the nsIZipReader 
> for the jar and then calling close() on the target mypackage.jar file.

As far as I understood nsIZipReader.idl there's no guarantee that one
gets "the" nsIZipReader for a given jar, but only "a" nsIZipReader:

| /**
|  * Returns a (possibly shared) nsIZipReader for an nsIFile.
|  */
| nsIZipReader getZip(in nsIFile zipFile);

So just closing that specific nsIZipReader might not always help?


Karsten


More information about the Jslib mailing list